I get around the MA safe storage laws by sleeping inside a secure container, it's a metal coffin with a bed inside that can only be opened from the inside normally. The steel protects up to .308 Win AP. I have a camera and a small LCD screen so if I hear someone coming I can turn it on to see what's going on out there. There is also a small gun port from which I can aim one of my pistols through. In case of emergency I push a button and the coffin will stand itself up via a hydraulic cylinder operating off a charged pressure tank. This enables me to sleep laying down but in the event of an attack the coffin will "stand" so I can more easily assess any threats, and fire back if needed, but I really only would have to shoot at home invaders who have blowtorches or plasma cutters. I will tell you one thing, that sucks though, if one of the home invaders shoots at the coffin the noise of that bullet bouncing off the steel is very loud. I keep a set of earmuffs in there in case one of the douchebags tries to use it as target practice while I am still inside. That usually is not a problem because you just fire a few rounds off through the gun port and that scares em off. Criminals do not like target enclosures that fire back.
One problem with this design is it's not revolver friendly. The "noise" that comes out of the cylinder gap would be deafening, so the gun port is really limited to use of bottom feeders.
-Mike