I had a friends many, many years ago that had her car stolen while she was pumping gas. Her toddler was in their carseat in the back. All ended well, as I think the thief hadn’t realized a child was in the car, so abandoned the car.
Of course no one expects this to happen. Since then, I always took my keys out of my car and locked while I gassed the car. If I had kids in the car, I did roll their windows down if the weather was warm, but my keys were on my person.