Hi, I have the same problem with mine (P38), i found out the reason for mine, if you look into the ignition there is a ball that moves as you put the key in, if the ball sticks as you remove the key it thinks the key is still in there and wont lock, if you put the key back in and move it so the ball frees off then close the door it locks first time,