Larnievc
Hero
Why not use a group check in 5E? Why not say “Okay guys, the guards lock the doors and stalk off laughing nastily about some guy called Gavin the Torturer. Now they are out of sight what are you going to do?”D&D doesn't generally have very good resolution processes for escaping capture or imprisonment. 4e can be an exception, via skill challenges.