Not everyone could or would want to do this and will find a qualified gunsmith, but here's some info on case hardening ...
=> Hammer steel ("frizzen") hardness and smooth surface is a must for consistent ignition. Back in the "old days" there was Kasenit carbon compound to harden frizzens but that has long been removed from the market and is no longer available for purchase. Current hardening compounds are Tru-Spark (Track of the Wolf) and Surface Hardening Compound (Brownells).
The frizzen is removed from the lock and its FACE (the part that the flint strikes) is ground, abraded, polished SMOOTH and bright - this is a very important step. The frizzen is held with vise grips whilst a MAP gas torch is directed to the BACK of the frizzen to get it to a bright cherry red, then a layer of carbon compound is spooned onto the FACE of the frizzen. It will melt into the metal. Apply as much compound as the face will "soak" in. When no more compound is absorbed, the frizzen is quenched in automatic transmission fluid (ATF) or plain water (the ATF is best). The frizzen is cleaned, replaced to the lock, and tested for sparks (or a file test is accomplished - it should glide over the frizzen face as if it was glass and not cut the metal).