Complex sentence: Holmes then visits Nash to buy drugs, and on the way out leaves the kitchen door unlocked to give the Wonderland gang easy access.
Split into simpler sentences: Holmes then visits Nash to buy drugs. On the way out, he leaves the door to the kitchen unlocked to give the Wonderland gang easy access.