Final answer:
In the play Antigone, the princess is locked up in a prison because she defies the ruler Creon. Her actions go against Creon's orders, resulting in her being condemned to immurement.
Step-by-step explanation:
In the play Antigone by Sophocles, the princess to whom Antigone is compared is locked up in a prison because she defies Creon, who is ruling Thebes. The princess takes actions that go against Creon's orders, and as a result, she is condemned and sentenced to be immured in a rock-hewn chamber. This punishment is meant to serve as a deterrent to others and to maintain Creon's authority.