The fault code "F5 E1" indicates the door lock solenoid/motor is not operating or a latch switch failure. I added a couple of images below with the information and instructions for diagnosing a "F5 E1" fault code. This information is intended for service technicians with experience and training along with the mechanical ability to use in helping diagnosing the failure. The door lock motor and switches are located on the rear of the range.
If the door is not latched (locked), ensure that it is completely closed. Press AUTO CLEAN, Time and then START/ENTER. Verify that the latch motor is operating.
Unplug range or disconnect power.
If motor did operate, check integrity of latch mechanism from cam/eccentric, through actuating rod, to latch pawl and door slot. Ensure that pawl aligns with the door slot. Correct any mechanical malfunction. Go to step 4.
If motor did not operate, check continuity of the latch motor and of electrical connections between oven control and motor. If continuity is present, replace control.
Plug in range or reconnect power.
Put range into CLEAN mode to verify proper operation.
I recommend calling a service technician to diagnose and repair your Whirlpool range.
NOTE: Disconnect the range from the power supply before servicing. Metal edges in the appliance can be sharp. Protective gloves are recommended.