Complex sentence: Peckham knocked on the Moores' door; when no one answered, she tried to open the door, only to discover that it was locked.
Split into simpler sentences: Peckham knocked on the Moores' door. When no one answered, she tried to open the door, only to discover that it was locked.