The symbolization is that, as Krishna was born, the chains that bound his father fell off; the doors that had been bolted flew open and the prison guards immediately went into sleep. And the father, Vasudeva, took Krishna and went to Gokul, by placing Krishna in a basket and walking across the Yamuna river, where at the same time Yashoda, consort of Nanda, had given birth to a female child.
The ‘chains’ here mean the bondage to the external world and the five senses. A self realized person is free of these bondages. The opening of gates symbolizes control over lust, desire, greed and attachments. Sleeping of the guard symbolizes, that in a self-realized state, one is totally cut off from the world. Everything else perishes and one gets detached.
The thunderstorm, the rain, and the fire, all represent the internal turmoil of uncontrolled desires and hatred. The moment Krishna’s feet touch the turbulent water, everything settles. The spiritual lesson is that by turning inwards and towards one’s pure consciousness any turbulent state of mind can be controlled.
While acquiring all that, one must control the ego and keep the desires inwards and not have ego egocentric desires