There is a door in the cave with three locks. Each one is unlocked by pressing a button which is hidden in one of the nearby buildings.