Take it with you! Upon going into the sheriff's office request to lock it up there.
(e) Facilities for checking firearms or other dangerous weapons.--Each county shall make available at or within the building containing a court facility by July 1, 2002, lockers or similar facilities at no charge or cost for the temporary checking of firearms by persons carrying firearms under section 6106(b) or 6109 or for the checking of other dangerous weapons that are not otherwise prohibited by law. Any individual checking a firearm, dangerous weapon or an item deemed to be a dangerous weapon at a court facility must be issued a receipt. Notice of the location of the facility shall be posted as required under subsection (d).
Call 'em see if they have lockers.