I once wanted to repair my microwave oven for faulty LCD screen. I even posted here for an advice.
As I was searching on the web for oven repair, I read that "The
U.S. Consumer Product Safety Commission reports that four people are electrocuted each year trying to
repair their
microwave ovens.".
It wasn't clear to me at first why, but then I read there are high voltage capacitors, I think 2000V in ovens that people do not discharge and it was the reason they got killed.
I was very nervous to continue, but then I realized that those capacitors needs to be discharged with high ohms resistor, and not as some do with pair of pliers shortening the capacitor terminals.
I eventually gave up because I was not confident in my very smart brain and experience.
There was even a case where repair person was electrocuted in a repair shop while diagnosing the problem with a microwave oven.
Appliance repair person was electrocuted in a repair shop while diagnosing the problem with a microwave oven--Maryland