If you need a first-hand account of an electronic safe problem, I had a quick access button-code electronic lock handgun safe. It ran on a wall power supply with a battery backup tray. I thought that would be reliable.
We had a series of brief power brown-outs/black-outs. It wasn’t a clear-cut power outage, more an intermittent glitching. The safe lost the combination I entered. I had to open it with the backup key and reset it.
I replaced it with a Simplex safe. I just don’t trust electronics anymore.