pillory
A device that restrains a person's torso and/or neck, and often the limbs as well. Often in the shape of two boards that lock together, with indentations for the victim's parts; for a representative example see post #4279357. Other designs exist as well, such as the curved design worn by Briar.
For boards that only restrain the limbs, use the tag stocks.