Before putting any rimfire firearm away - first check and be double-damn sure the gun is UNLOADED.
On most semiauto .22s, both pistol and rifle, I learned early on to retract the bolt very slightly before pulling the trigger to release the hammer over an empty chamber. The hammer will strike the rear of the bolt, and often the firing pin, but the firing pin will not impact the chamber area. This is the correct way to lower the hammer to help prevent spring set.
With bolt actions, to release the firing pin over an empty chamber, move the bolt forward, and with the bolt handle UP, pull the trigger and lower the handle at the same time. The firing pin spring will relax gently in the process.
With revolvers, always lower the hammer gently, holding it with the thumb.
These procedures will allow relaxation of the springs without damage to the chamber area.
John