Complex sentence: Kira secretly befriends her, (sneaking into Jo's locked room at night to comfort her) and realizes that she, Thomas, and Jo do not have as much freedom as they had previously thought.
Split into simpler sentences: Kira secretly befriends her and sneaks into Jo's locked room at night to comfort he. Kira realizes that the three do not have as much freedom as they had previously thought.