I don’t remember exactly what I heard this this but I believe it was possibly Rush Limbaugh mentioned some sort of campaign back in the 70s. A campaign where a local government tried to place blame of car thefts on owners leaving the keys in the ignition. Something like do not leave keys in the ignition or you might cause someone to become a thief.
I believe that an instance such as you describe would be called a “crime of opportunity” and I suppose that irresponsibility on the part of the car’s owner does contribute to that crime.
If I remember correctly, the phrase was, “Lock your car. Take your keys. Don’t help a good kid go bad.”