A gate might be an obstacle or it might be a way through or it might be that which is containing something that would otherwise be detrimental to our well-being. One of the key things that we do with the various yoga practices is explore how an apparent barrier is serving us or how a locked gate might turn our path in a more auspicious direction.
We will learn little and live less fully if we just lament the locked gate and unreasonably expect from the practices the removal of challenges or barriers. Ganesha–who is often invoked as the remover of obstacles–is less one who just opens all the gates for us than one who empowers us to discover gateways regardless of whether gates are meant to stay locked or whether they seem to block our path.