I think the only clue was that all of the other torches in the room were out, with the only lit one being beside the locked door. Earlier in the game you had to light or extinguish torches to open passages, which had more direct clues.