In Nancy Drew: Treasure in the Royal Tower, to get to the secret garden, step outside and follow the path towards the “No Trespassing” sign. Walk around the stone wall and move aside the vines. Rotate the gate wheel to line up Ezra Wickford’s initials.
In the garden, rotate the arrow above the stone fountain twice to move Ezra’s statue. Pull the lever to reveal the secret compartment and use your ornate key (found in the candle in Ezra’s secret study) to unlock the locked box.