But breaking glass is noisy. If you're in the middle of nowhere that doesn't matter, but if there are neighbours, a burglar would love to just walk through your unlocked door.
Except if you left something in it, like my neighbour's with his golf clubs.