Complex sentence: Realizing what is going on, the boy tries to make a frantic escape out of the house but the doors are all jammed and locked.
Split into simpler sentences: Realizing what is going on, the boy tries to make a frantic escape out of the house. But the doors are all jammed and locked.