It's called deterrence, and it works.
I would imagine that when the neighborhood thugs are out looking for a site to break in, they will tend to avoid this man's house.