Gatekeeper (A Link to the Past)

[The gatekeeper] protects a location by guarding a closed gate, the area will be inaccessible until said foe is defeated or specific conditions are met.