How do you store weapons in GTA 6?

Short answer

Car trunk or Ammu-Nation locker

Stow longarms in the trunk of your personal vehicle, and open your loadout there to take them back out. Every Ammu-Nation has a weapons locker that holds the guns you own, so look there when one is missing from your loadout.