The door lock assembly has wiring between it and the main control board. If the wire harness is damaged, you should replace it. The door lock assembly should be replaced if the wire connections are ok. The main control board needs to be replaced if the problem continues.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.