Hi, I am Tech Michael.
I don't believe the problem is the drain pump, as that error relates only to the door lock mech.
You may have a bad switch and if you are careful you can jump it to be sure the switch is ok. But I would not do it that way.
I would use a meter set on continuity for this test of the switch.
Also I would check each wire going to to the door switch all the way back to the main control board for continuity with your meter. Then you will know for sure what the problem is ;-)
In any case, I will stick with you until this is complete.
Please rate my service kindly.
Also it is the only way I am credited for my time and expertise with you.
Once you rate, I will be notified and will add your question to my priority list so you can reach me anytime until this problem is solved.
Then you can reach me by simply replying to this message anytime.
Thank you and have a great week!