pillory

nouns

a wooden instrument of punishment on a post with holes for the wrists and neck; offenders were locked in and so exposed to public scorn
is a type of (narrower)
an instrument designed and used to punish a condemned person

verbs

expose to ridicule or public scorn
punish by putting in a pillory
is a type of (narrower)
impose a penalty on; inflict punishment on
"The students were penalized for showing up late for class"; "we had to punish the dog for soiling the floor again"
criticize harshly or violently
"The press savaged the new President"; "The critics crucified the author for plagiarizing a famous passage"