If you already disarmed the trap, the game will tell you to replace it before you can change the combination. Attempting to do so will crash the game, however. The solution to this is to go to the basement (changing maps) and return, whereupon the trap will be re-armed.