They used to have these iron cages they hung on crossroads and bridges for all the people to see such as these locked inside till their bones fell free.
Those are called gibbets, I believe.