COLORADO SPRINGS — Three Fort Carson soldiers trapped themselves during a burglary-gone-bad at a medical marijuana dispensary in southeast Colorado Springs early Saturday, police said.

Darius Thomas, 23; Cory Young, 22; and Ramone Hollins, 22, were arrested on suspicion of second-degree burglary at Rocky Road Remedies, 2489 S. Academy Blvd., near the intersection with Astrozon Boulevard.

Police say the trio forced open a back door sometime before 2 a.m.

When the door closed, however, the lock re-engaged and left the men unable to get out the way they came in, said Colorado Springs police Sgt. Jennifer Lewis.

Officer Alan Vantland spotted the men inside after arriving to check on a complaint at a neighboring business, police said.

When burglars saw Vantland, they tried to escape through the front door, but it wouldn’t budge and iron bars prevented them from forcing their way out, Lewis said, adding that the three were trapped until police could free them.

“We were able to open the back door from the outside, and they came out,” she said.

The owner, Renze Waddington, said the men were inside for a matter of minutes before an officer saw them and didn’t have a chance to take anything. The store’s marijuana supply and cash were locked away in a safe, he said.

The three were already under arrest by the time Waddington’s security company, ADT, called police to report the break-in.

“We’ve got a great police department in Colorado Springs,” he said.

Surveillance video shows the men “running around like rats in a maze” after spotting the cops outside, who were called to a disturbance at a bar next door, Waddington said.

“There’s a lot of security to keep people out, but it ended up keeping them in,” said Maegan Swain, a clerk at Rocky Road Remedies.

The break-in showed little more than that if people want something, they’re willing to commit a crime to get it, she said.

“People break in to liquor stores, and people break in to pharmacies,” she said. “We’re just grateful for the police.”

The suspects were booked into El Paso County jail on $10,000 bail.

Jail records indicate all three are on active duty at Fort Carson.

A Fort Carson spokeswoman said she could not immediately provide additional information about the three, including their units.