Complex sentence: Phil visits the bike store to buy a replacement but when he gets home and confronts Luke, he learns that Luke never left the bike.
Split into simpler sentences: Phil visits the bike store to buy a replacement. While confronting Luke he learns that Luke never left the bike.