If you pack a declared firearm — such as a relatively harmless starter pistol — in your checked luggage, you can secure it, along with anything else in the same case, with a lock the TSA can’t open, and TSA will provide additional tracking on the case.