If the door hook is broken it won t relea se the door properly preventing the door from opening.
Repair microwave over door lock.
If the door hook is broken replace it.
Locate and remove the one philips screw that holds the control panel in place.
I would not risk trying to adjust repair or bypass the switch.
Remove the grill and lay aside.
Visually inspect your door latch assembly for any signs of cracking wear damage or discoloration.
Depending on the model involved the panels may be held in place with screws from the inside bottom or sides.
How to inspect a microwave door latch assembly.
Since the door hook is made of plastic it can break due to regular wear.
The door hook engages with the door latch to keep the door closed during operation.
If you misadjust the switch the unit may start with the door not completely sealed.
It will be found behind the inner door panel.
Remove two philips screws that hold the grill in place on top of the microwave.
Use caution as the outer glass door may be heavy.
Locate and remove the door latch assembly.
A primary secondary and monitor switch all actuate to keep the microwave from cooking your kitchen while the door is open.