Complex sentence: Jimmy is about to kill Emily when Nick suddenly walks in and stops him, telling him to turn himself in.
Split into simpler sentences: Jimmy is about to kill Emily when Nick suddenly walks in and stops him. Nick tells him to turn himself in.