During the past few months there has been a great deal of discussion regarding smart guns or gun locks.
Guns safety is between the ears-mechanical inventions are less important.
A fool will be able to harm himself and an intelligent child will be able to short-circuit most gun locks. In some cases, however, gun locks are a good thing. My son likes the idea of keeping his Ruger.22 locked in its hard plastic case. Peace officers like the idea of a user-proprietary weapon. Weapons carried on safe give a greater margin of safety during gun grabs, but there are many felons familiar with auto-pistol safeties.