… what is confinement, and what is the opening amid confinement that the Buddha spoke of?

At Udāyī’s request, Ānanda explains an obscure verse spoken (in SN 2.7) by a deity. The nine progressive meditations are the gradual escape from confinement.