"Jamming" usually works by putting out a bunch of energy on the same frequencies to overwhelm any actual signal. So, detect the overall amount of radio coming in, and turn off auth if it's too high.
But then you're left with a smart gun that's unlockable with a simple RF generator
Sure. So it only stops unsophisticated criminals. But they're mostly the ones that kill people.