Unplug the range and make sure there are no loose connections between the electronic control board and the oven door lock assembly. If the wire harness is damaged, replace it. If the oven door lock assembly is damaged, you should replace it.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.