Fun fact. I wanted to trap my level 12 party in a dungeon, one of them had disintegrate. So I engraved a reflecting effect in the door. Any direct one target spell casted on the door would bounce back. It would take 3 spells used that way to empty the magic of the door.
Sadly, he never casted disintegrate on it. Sad DM noise.
But DAM its hard to trap a high level party anywhere.
I was gonna give you advice on trapping them, but then I realized you were talking about their characters and not the actual players.
Then again, playing the odd session in an actual escape room might be fun.
Well I mean, next time your party needs to escape from somewhere, book an escape room that has a theme that's close enough.
There'd be no tabletop element, obviously no weapon or spells, although your players can still kinda roleplay in there.
Most escape rooms around here already have their own little backstory and an actor introduces you to their shtick and sometimes interacts with you through the thing.
If you call them ahead of time, they might agree to slightly alter their existing stuff to accommodate your story.