Gavin I’m not entirely sure about this so if someone knows better, jump in . . .
My understanding is that the companies that use the quarries (Mountain, Statham’s) for commercial benefit, such as Adventure Out, can get the codes from CALM or whichever organisation put the gates up. Casual climbers can’t get them unless they know someone who has ‘connections.’