To unlock a Bosch washing machine door when it is locked, you can try the following steps:
1. Check for any error codes: If your Bosch washing machine has a digital display, it may show an error code when the door is locked. Refer to the user manual or Bosch’s official website to understand the meaning of the error code and how to resolve it.
2. Wait for the cycle to finish: Sometimes, the door may remain locked until the washing cycle is complete. Patience is key here, so wait for the cycle to finish and see if the door unlocks automatically.
3. Power off and restart: Turn off the power to the washing machine by unplugging it from the electrical outlet or switching off the circuit breaker. Wait for a few minutes, then plug it back in or switch the circuit breaker on. This can sometimes reset the machine and unlock the door.
4. Cancel the program: If the door remains locked even after the cycle is complete, try canceling the program. Press and hold the “Start” or “Cancel” button for a few seconds until the machine stops. This may release the lock and allow you to open the door.
5. Manually unlock the door: If none of the above steps work, you may need to manually unlock the door. Look for a small access panel near the bottom of the washing machine. Remove the panel and locate the manual release lever or cord. Pull the lever or cord to release the door lock mechanism and open the door.
If you are still unable to unlock the door, it is recommended to contact Bosch customer support or a professional technician for further assistance. They will be able to provide specific guidance based on your model and any error codes displayed.
For more detailed instructions and illustrations, you can refer to the Bosch washing machine user manual, which can be found on Bosch’s official website. 
Note: The steps provided above are general guidelines and may vary depending on the model of your Bosch washing machine. Always refer to the user manual or contact Bosch customer support for model-specific instructions.
 Bosch washing machine manuals: https://www.bosch-home.com/us/support/product-registration/product-registration?mc=usabu0003