Gatekeeper is a design anti-pattern which prevents access to specific zone or level, requiring the player to solve quest or talk to a NPC.
Its impact on immersion is similar to 1-foot wall which cannot be jumped over: the difference is there is no wall, just denial of access.