The door has a pin which keeps a microswitch (mounted under the panel)activated when closed. There a service letter to inspect the switch.This controls the PTU valve I think. I don't have my book with me.
Definitely need to ensure it's properly closed before t/off.