They will lock for different periods of time. I had a male that would lock one girl for 48 hours or more and then the next week only lock an hour or 2. It really does vary.
The other thing that could be happening is they are locking, unlocking, then locking again before you noticed. Thus giving the impression they stayed locked the whole time...