My neighborhood is fairly safe. What keeps it that way is that a lot of neighbors have those doorbell cameras so if there was any incident, more than one neighbor had a recording of who it was that did it. For example. there was an attempted robbery and attempted burglary a year ago. But there was a video of the person who did it! No problems since.
I installed one of these doorbells at mom's house. What's nice is that it can transmit the video to your phone. A buddy of mine's lives in Tucson and own's a business. He set up a camera and then visited family overseas. He'd check on the work progress and once phoned saying, "hey, you forgot to bring in the carpet.." So, there you go.
For me, I have my pistol near my closet. If anyone breaks in, I'll blast them. If I'm not home, the plan is for my daughter and wife is to fall back into the bedroom, deadbolt the door, block the door with the dresser, and call 911. Even then, then can fall back into the bathroom. Now my daughter is 11. I enrolled her into competition air rifle class last year and she knows the safety expectations. Now she wants to learn handgun so I'll teach her to operate and shoot my revolver. If an incident happens like I described, I she has "MY" permission to blast the person to save their lives. If the (CA) judge decides to put me in prison for the order, I can live with that knowing that my family is alive and unhurt.