Thank you for using Just Answer. I will be glad to assist you in your answer. Think about safety when doing repairs, electric, water, gas, ect.
Unplug washer. Lossen screws and remove lower panel. Reach up right-hand side until you fell the door latch assembly. On the bottom-side you will fell a small pull-tab. Pull this straight down, and the door will unlock.
If the door lock checks out, the problem would be in the main control. You can get this part at repairclinic.com. You just need the model# XXXXX the data plate to look up part. The main control is located under the top cover on the front right. The part is pretty expensive, so I'm going to opt out, to get a second opinion for you from another expert.....Thank you