The stocks were used as a punishment for minor crimes.
There would have been much nastier instruments of torture in the dungeon.
Move on