He was trying to get the guy to try the door know, fail, then lean into it and try again.
I'm sure you've noticed that people have a tendency to push on a door as they are trying to open it.
Locking the door was pretty much supposed to force the dude into the room so he could be pummeled with batteries.
_________________________