Complex sentence: They are not to leave the room after 9:30 p.m., but when curiosity gets the best of the children, they look outside their room and discover horrible secrets their grandparents are hiding.
Split into simpler sentences: They are not to leave the room after 9:30 PM. But when curiosity gets the best of the children, they look outside their room and discover horrible secrets their grandparents are hiding.