The control board may have a problem if the microwave oven doesn't shut off until the door is opened. Is that correct? The only way to stop the cycle if the control is malfunctioning is to open the door and interrupt the power to the control.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.