disconnecting door lock motor

My oven started to beep and give the F9 code. The door locked light flashes and I have never locked it. I have never used the self-cleaning cycle. The oven worked fine until one day this happened. It doesn’t beep anymore because we disconnected the speaker. Now I am trying to get the oven to work again but cannot seem to get the door lock light to stop flashing, and the oven to work again. I have the wiring diagram and would like to know if I can disconnect a particular wire to get the oven to start working again. Model Number 316207505