Do you have power locks? If you do, I've seen the switches lose the tension on on the contacts or, depending on switch style, spring tension that will allow the switch to not be in the centered position when released. When the door is shut, the switch will actually move slightly activating the locks. I've had it happen to me a few times while working on cars. That's why I always open the window if I leave the keys in the vehicle.