Officials in Greene County, Arkansas, say a prisoner locked three guards and a sheriff's deputy in a cell.
The Paragould Daily Press reports the officers were conducting a search for contraband at the time.
Authorities say inmate Jacob Rodden ran out of the cell, shut the door and inserted the security pin.
The four officers were rescued by a jail matron.
Sheriff Dan Langston chalks it up to a lack of training.