Hmmmm Ruger 1022. can put a lot of lead on a target in a short time and won't kill all the neighbors if you miss.
This is the thought I had. I've lived in apartments where very little separated my wife and I from the neighbors next door except the walls between the units. During our first two years of marriage, we had to deal with two incidents of people trying to break in through the bedroom window. Later someone tried to get in through the kitchen window. At the ranges involved, i.e., less than 12 feet, a 10-22 loaded with any decent .22 LR HP round would have been outstanding as it would have been very easily employed, controlled and aimed. At that time I had no such rifle, so I used a 12 ga. 870 and in the last incident a S&W 59.
Nowadays I am more thoughtful on these matters. I have a RIA 1911 on the nightstand stuffed full of 230 gr. hardball. If needed... I have a little something standing by... a 15-22 with a couple of 32 rd. ProMag magazines stuffed full of CCI Mini Mags. Why? Simple. My wife is not a highly experienced shooter. She is however capable of using a rifle. In her hands, that little recreational rifle will be very effective in serving her for HD/SD. If and when she ever picked that thing up and went to aiming and firing, it'd take a real double dipped solid brass idiot to do anything except do his very best to either give up immediately or get out just as fast as he feet would carry him. Ideal? No. Nothing is. But, imminently useful and effective. Absolutely.