HOUSTON (CNN) Houston police say a man will spend several years in prison after an unusual robbery attempt is caught on video.
The newly released video is from a crime that happened last April.
Police say the suspect entered a store and told employees to open the register.
The employee refused to cooperate and walked out of the store along with customers.
He then locked the door, trapping the suspect inside until police arrived.
Surveillance video shows the suspect shooting at a door's lock in an attempt to escape.
He then drops to his knees and can be heard praying before apologizing.
The man was taken into custody. He pleaded guilty and was sentenced to five years in prison.