Unless of course, you make it in such a way that it can't work without the computer, but computer-less guns are going to stick around.
I
think that they use electro-percussive firing mechanisms (i.e. fly-by-wire, from the trigger, instead of mechanical) with some form of positive signal to the firing-element that can't just be emulated by hot-wiring the Walther P99 with an external PP9, as it were.
But I've heard (and understand, in the context of someone who actually wants a gun for home-defence) that the big problem is if there's a false negative on the palm-print scanner in the grip (or wristband close-proximity RFID detector or whatever) at the point when the user
really wants to shoot the home-invading intruder then this would be a Bad Thing™, and considered a worse one than the current Bad Thing™ of the intruder finding the alternate eLock-free gun themselves, during their initial pillaging, and then using it upon the doubly-unlucky owner.
(Gun debates are gun debates, and all I can say is that it'd be the rare burglar who would break into my own British home bringing a gun in case I also happened to have a firearm. I'm not in the rare kind of high-risk position of likely having/needing a legal/illegal firearm and thus such felons would tool themselves up accordingly in response. Knives may be brought, or just something hard and solid, though I've also never known any miscreant to target my abode, regardless of armament. It's different in the US, because there are
more guns than people, already, so gun control has a problem of inertia in both the legal and illegal cohorts of ownership, as the so-called 'failed' gun-control areas have to contend with easy illicit access from elsewhere. And the Wild West mentaility meaning that hot, velocitous, lead is deeply embedded in the collective Americana DNA (and maybe somewhere else). It's above
my paygrade, the answer to that conundrum.)