Burgalar meets electronic door

I don‘t know what kind of security measure this is but I would think you want the robber as far away from the store as possible. I would not think that you would want to lock the guy in the store. Good thing the dude didn‘t have a gun or else it wo