In Nancy Drew: Treasure in the Royal Tower, to get to the tower, you must unlock the barred door under the elevator. The puzzle is randomized every time you step up to it, so there are no exact answers to share. Click on the bars until you find one that stays unlocked. Click on them again to find the second one that remains in place, and continue this until you find the correct sequence of bars, unlocking all of them.