Never had a newer car lock with a door open. Back in the days of manual locking, sure, even early central locking systems there were ways, not now. I'm betting on faulty sensor as John mentions. I'm guessing you unlock, open the door, sensor hasn't detected door open, car relocks as if you hadn't opened it in the first place?