I have a Kitchenaid KMHC319ESS-0. On this model, the keypad is on the door, and the entire microwave front surface is one big door. I didn’t find any helpful illustrations or movies on the internet for this model, but I can share that it is unnecessary to uninstall the unit for door switch replacement. If you open the door, there are 3 screws holding the plastic indoor vent; remove those and the plastic, then the fourth, single screw holding the vertical plastic piece on the right of the microwave, then slide this piece up to disengage the tabs. From this point on, switch replacement is like what you see in the videos. If you are careful, you can save $ by buying three of the w10727360 switches instead of those two $20 switches. The left position of the top assembly has connections to all three switch terminals (common, NO, NC) but the right top switch and lower switch only have two of their terminals used. Carefully note in each case whether the connections are to the NO or NC terminal (they are marked on the switch body), then wrap a piece of electrical tape around the unused terminal and install.
One piece of advice is to disconnect the wires so that the switch assembly is completely free of the microwave before trying to remove the switches from the assembly - it will make it much easier to not break the mounting tabs. When reassembling the plastic vent, either a pair of needle nose pliers or a magnetized screwdriver is needed to get that rightmost screw in place.
This is only speculation on my part, but it appears that opening the door (for example) doesn’t hold one switch state until the door is subsequently closed, but instead cycles the switch, and the switch output looks like a logic state change to the computer. If you inspect the mechanism, you can see a bump on the switch actuator so that in the process of closing the door, the little button on the actual switch is depressed then released, not held in the alternate position. I bring this up because a switch that is sluggish might appear functional if checked with an ohmmeter, but it has to respond quickly when the plastic bump goes by, or the computer won’t get the correct information from the switch.