Am a new boy to this forum ..... and I have exactly the same problem with needing to replace the door lock on a DWF40.
However, I've removed the top 4 screws in the door at the rear of the switch panel, but just cannot undclip it/separate so that I can get access to the lock in the rear of...