Seeing a prison cell signifies that life will pass quietly and calmly.
Seeing oneself placed in a cell signifies distress and sorrow, because a cell is a place of hardship and suffering.
Seeing oneself released from the cell in which one was confined signifies relief from sorrow and grief and the coming of joy and happiness.