Complex sentence: Margaret demands that Carrie abstain from showering with the others, but when Carrie refuses, Margaret hits Carrie with a Bible and locks her in her "prayer closet".
Split into simpler sentences: Margaret demands that Carrie abstain from showering with the others. When Carrie refuses, Margaret hits her with a Bible and locks her in her "prayer closet".