Whirlpool washer

Washer shuts off intermittently. I suspect the door switch. Where is it and how do I get the top off?

We need the model number, the one listed is not correct. It should be listed on a tag under/inside the door along with the serial number.