Updated

A quick-thinking California clerk reportedly locked himself inside a convenience store with a robbery suspect, police said.

A man later identified as Demetrus Olson, 30, entered the store early Sunday near North California Street and East Sonoma Avenue in Stockon and walked behind the counter to grab cigarettes. An unidentified clerk spotted Olson and locked the doors after pushing an alarm, Fox40.com reports.

Stockon Police Department officials said Olson then threatened the clerk and pushed him. The clerk soon unlocked the doors, allowing Olson to get away.

Olson was later arrested in Oak Park, where he fought an officer during a confrontation, police said. He now faces charges of robbery, resisting arrest and battery of an officer.

Click for more from Fox40.com.