Not to say that there's always an answer to those types of fears, but peace of mind is cheap compared to unpreparedness.
For about $160, you can have the peace of mind required when there are children around, or for when you are away from your home if you don't carry your gun with you. I'd much rather someone have something like the picture above than try to manipulate a firearm, under duress, from unloaded to ready. The codes possible with these types of safes can be as complex as you like, or as simple as you like. Either way, if your concern is that a small child can get a hold of your weapon, there's a gigantic RED FLAG that goes off in my mind. The only gun of mine that is out of the safe, is the one I'm responsible for, either on my person, or on the table next to my bed as I sleep. If I have to go somewhere where guns aren't allowed, it's either locked in the main gun safe, or unloaded and locked to the seat frame of my car with a cable lock. If I'm down in the big city, I'll unload and remove the slide and take the mainspring with me if I can't take the gun with me as well as lock it to the seat frame.
Unattended guns are a big "no no" with me. If you aren't in possession/control of your firearm, it should be locked up. $160 is a small price to pay for peace of mind.