There's a reason that jailbreak movies have endured over the years. It's a simple premise: A character is locked up somewhere, and they would very much like to not be locked up. From there, the character gets their mastermind on to figure out a way out of their imprisonment, and then there's a fun action scene as they actually break out. Breaking out of prison is a fantasy many have thought about in their lives, and these movies allow the audience to live that out (without having to perform a real-life prison escape).
Thrilling escape movies have it all. There's the drama of the protagonist being captured, the tension as they plan their escape, and the action as they actually break out. What more could you ask for?