Complex sentence: Meg drives her to the special place and locks her out of the car, but suddenly changes her mind when the girl sees Kent.
Split into simpler sentences: Meg drives her to the special place and locks her out of the car. She suddenly changes her mind when the girl sees Kent.