Hi karl, it possibly is one of the door latch micro-switches is not showing the door as being fully closed and latched, this means that when you try to lock it, it unlock immediately as all door latch micro-switches must be in the fully closed for the system to lock
nigel, May 2008