There used to be a team-based objective shooter called Dirty Bomb that had an entire class based around objectives (they were called objective specialists, but most people called them engineers after Engineer from TF2). They were unique in their ability to carry out certain actions faster than other mercs such as planting/defusing c4, repairing generators, repairing vehicles, and… that was about it.
Dirty Bomb didn’t have traps, per se, but it did have maps with things like optional side doors that could be opened by the attacking team by destroying a generator that the defending team might need to repair to close off the flank route. I think it had some elevators that could be activated as well.
The game also had a turret on payload “carts” (the payload was usually an armored vehicle), so if you wanted to use the turret, someone would need to repair the payload in case it got knocked out by enemy fire. Which was a thing. Nuking the payload with Arty or Skyhammer (fire supports) was pretty funny stuff. Imaging Junkrat grenadine the payload until it blew up, only for Torbjorn to come along and repair it.
Anyway I always wished they’d diversify the map pool a bit and add things like turrets that could be activated by hacking a terminal (or disabled by damaging/destroying the same terminal), but their mapmakers never tried anything that intricate. Ditto for any other kind of static trap.