Inspired by the recent UA about Traps I considered making trap/puzzle encounters more common, but I don't know how to solve an issue, which was mentioned in our gaming group.
A player mentioned in another game (different DM), that traps are unfun and boring because either you take damage or the rogue gets to roll perception/investigation and then disarms it. Thus I mainly used traps for alarms, releasing enemies or literally trapping PCs.
Complex traps/escape rooms are just a collection of "you take damage, go on" and "roll a check with your tools". Even though the UA suggests arcana checks for some traps, there are classes which can do literally nothing or are just plainly worse at it than others.
Typical puzzles are more likely to test the players than the characters, so some players would rather make an Investigation check (and repeat it indefinitely until they succeed) and solve it that way than thinking about it as a player. Puzzles like a collapsed bridge above a rift might lead to the players just searching for a different way across, because they don't want to spend all spell slots from the one and only spellcaster of the group.
Still, many characters are not useful in such a situation and for some players a combat encounter feels more engaging than any trap/puzzle encounter, because they know how to act, there are no characters left out and they generally have more abilities and choices to deal with a creature than with a trap. So, how to make a trap/puzzle/complex trap/escape room as engaging and fun for the players, when the system gives them more options and balance for combat encounters.