No person shall transport or have in his or her possession in or upon any vehicle a firearm unless the same is unloaded in both barrel and magazine and carried in the luggage compartment of the vehicle, or in a securely locked compartment of any vehicle not containing a luggage compartment.