as much as guns are great protection, the OP's examples are a better deterrent. as has been said before, break-ins are typically planned and not totally random. thus, if someone staking out your place sees plenty of security and locks, etc. they'll be more inclined to move on over to your neighbor's place.