"jail," 1919, of uncertain origin; Barnhart says perhaps altered from pogie "poorhouse" (1891), which itself is of unknown origin.
A jail; clink, slammer: My thoughts centered around the prospect of the ''Pokey''
[1919+; origin unknown]
hokey-pokey