I had this problem. I tried just about everything, resets, drainage, thought about a new pcb,etc. I eventually removed the locking mechanism (with the power off) as this seemed to be where the problem stemed from. I was about to order another one, but didn't, as the mechanism seemed to work fine in my hand - you can open and close it if you push the right place with your fingers. It didn't however work when installed in position. The reason for this was that the catch that it pushes on to when the door is closed had bent up very slightly and was riding over the top of the mechansim, thus not triggering the microswitch, meaning that the dishwasher believed the door was always closed. I just bent this catch down a mm or two with some pliers and everything works fine now.
Andy Mack
February 2008