Now for a big time reality check. My brother woke up to a very loud BANG! He found his wife ,laying on the floor, short barrel 870 in hand, half her face blown off. To this day he has no idea what happened, whether she was walking in her sleep, or heard something and got up to look, or what. She is still alive, badly scarred, can't remember anything. So think twice, there can be a downside to having a weapon in instant readiness where it may be handled by sleepy ,groggy, frightened people.
The first thing to do if you are intent on deterring a midnight intruder from entering your bedroom is to have a solid core, 1 3/4" door with a top quality deadbolt, and door, jamb and hinge reinforcement. This buys time to wake up, get oriented and confront the threat. Do the same on the other bedrooms.
Dogs would be great, outside the door. Have a hardwired telephone inside the bedroom. Do not let the phone company put the box on the exterior of the house. The line should be buried, come in thru the foundation wall and up into the house. A switch inside the bedroom to light the hall outside it is a good idea, and a remote camera also. Don't stand in front of the door, I know a guy who got a 12ga. blast thru his door. KNOW YOUR FIELD OF FIRE< so you don't put holes in your loved ones or nieghbors.