Locate and remove the door latch assembly.
How to repair microwave door lock.
Unplug the unit and remove the cover to access the door latch lever.
How to repair your microwave door latch.
Use caution as the outer glass door may be heavy.
Remove the broken piece and insert the new part into the pivot openings.
For safety disconnect your appliance from the power source before beginning.
How to inspect a microwave door latch assembly.
It will be found behind the inner door panel.
Depending on the model involved the panels may be held in place with screws from the inside bottom or sides.
Door stuck on microwave disassemble and investigation possible repair microwaverepair for a review of a new microwave check this link out.