1. Fake Electrical Outlet
No burglar or government confiscator is going to take the time to search all of your electrical outlets in case one of them happens to be fake.
And even if they did try this approach, it would slow them down so much that you would easily be able to retrieve your gun in time to defend yourself.
These items can be found online, and you can also build your own. Be creative. With a little innovation, you can make this setup very easy to access.