Have to hold door down to work

I have an over the range microwave and it only works if you pull down on the handle and hold it.

Is there a sensor, or switch, that can easily be replaced? Or is it a gonner?

Thanks for any input!

Turns out it was the door switch. By pulling down on the door we were actually releasing it a bit so it would make the contact it was supposed to. $27 part later it’s all fixed.