If the door is locked closed and you have to use the emergency rip cord to open the door, then you may need to replace the door latch assembly:
This scroll from the famous and coveted Appliantology Archive™ will help you replace it:
Bosch WFMC Washer Door Latch Replacement
To learn more about your washing machine, or to order parts, click here.