If you remove the door panel you will see on the bottom of the latch assembly a white micro switch, it tells the c/locking module the door latch is closed & latched, this will allow the locking motor to lock the door, if this switch has fallen out or is faulty the door will lock and then immediately unlock
nigel
July 2011