What is the meaning of Pillory?

A framework on a post, with holes for the hands and head, used as a means of punishment and humiliation.

To put in a pillory.

To subject to humiliation, scorn, ridicule or abuse.

To criticize harshly.

Source: wiktionary.org