Just remember that these boxes are for keeping small children from getting their hands on a firearm. A keyed deadbolt on a closet door will do just as well for that purpose, better actually. But if you want your firearms close at hand, these boxes are more convenient to set on your bed's headboard than a closet would be.

But they are not to secure your firearms from theft. They wouldn't stop anybody there.

The electronic ones do not provide any more security. They provide a more expensive, more complex, and more failure prone interface to the same internal cheap locks as the basic non-electronic models. But they are advertised as "easier and faster to use". You decide on that claim...