This sounds like what they do on the show "Race to Escape" on Discovery where they have two teams in identical rooms playing for a money prize, and the teams' prizes are reduced with time and for hints and such. They have to solve puzzles to find numbers, which they enter into a keypad to unlock the next puzzle.