Front Load Washer Door Won't Lock
Is something blocking the door from closing?
Clear the way for the door to close.
Is debris or lint clogging the door lock mechanism?
Clean the lock.
Door Lock and Switch Assembly
Important: Unplug the washer from its power source before starting any inspection or repair work.
The door lock could be defective or worn out, so it no longer keeps the washer door closed. Most lock assemblies are made of plastic, so if it's defective, you won't be able to repair it, and instead have to replace it.
The door lock motor and switch assembly can also be defective, either mechanically or electrically. It's common for the lock and switch to fail. Test the part with a multimeter. There should be continuity, and if there isn't, replacement is required.
Like the door lock, the latch assembly is responsible for keeping the door closed. If it's not the lock, you can look at the latch. Either or both mechanical and electrical failure are possible. To test for electrical malfunction, use a multimeter and test for continuity. A properly working latch will have continuity. If it doesn't, the part must be replaced.