He keeps playing football despite all his injuries. I guess he's a 'glutton/sucker for punishment'. [=he is attracted to pain, suffering, difficulty, etc.]
These hiking boots are tough enough to take any amount of 'punishment'. [=the boots will not be ruined even if they are used very roughly]
The 'punishments' that the government has inflicted/imposed on the protesters are severe and unjust.
(..) I could tell you stories about your father that would curl even your greasy hair! - Alastor! Alastor. - It doesn't end here! We never use transfiguration as a punishment! Surely Dumbledore told you that. - He might've mentioned it. - Well, you will do well to remember it. Away! You. Come with me. (..)2005 Harry Potter and the Goblet of Fire