Just in case no one has answered you, Sr. Lucia is a Carmelite nun. They take a voluntary oath to withdraw from the world. Each Carmelite convent has one nun who is the intermediary between the nuns and the rest of the world.
So, Sr. Lucia isn't being "kept behind bars", she's there because she wants to be.