If someone is shut in, that often has to do with force and wrongdoing, for example if someone acted against the laws. Similarly, if someone is shut out by people or by other forces.
But that is not what the Lord wants for our lives, he wants to help us and finally to give us freedom. The eternal, almighty, merciful God holds the ultimate keys in his hands.