The TVTropes Trope Finder is where you can come to ask questions like "Do we have this one?" and "What's the trope about...?" Trying to rediscover a long lost show or other medium but need a little help? Head to Media Finder and try your luck there. Want to propose a new trope? You should be over at You Know, That Thing Where.
No, it doesn't really have to do with discrimination. OK, here's an actual example. In an episode of American Dad, Stan's father convinces him that his (Stan's) wife Francine is a spy, so Stan locks her in a glass container in the basement. When Stan learns the truth, he apologizes to Francine and tells her she can punch him in the face. She hits him with a lamp and says it's for leaving her locked in there with no laundry to do, because he knows how she hates downtime.
That definitely seems like the closest one. Thanks!
Is there a trope for when someone gets mad but not for the thing you would expect them to be mad about? For instance, Bob locks Alice in a room because he thinks she's dangerous. Once Bob comes to his senses, he lets Alice out and she is livid; not because he forcibly locked her in a room, but because he locked her in a room with nothing to read but old hunting magazines!