; or (B) if the transportation is by other means, the firearm is in a locked container or secured by a secure gun storage or safety device. (2) A person who is not prohibited by this chapter from possessing, transporting, shipping, or receiving a firearm or ammunition shall be entitled to transport ammunition, or any detachable magazine or feeding device for ammunition, for any lawful purpose from any place where the person may lawfully possess, carry, or transport the ammunition, magazine, or feeding device to any other such place if, during the transportation, the ammunition, magazine, or feeding device is not loaded into a firearm, and— (A) if the transportation is by motor vehicle, the ammunition, magazine, or feeding device is not directly accessible from the passenger compartment of the vehicle, and, if the vehicle is without a compartment separate from the passenger compartment, the ammunition, magazine, or feeding device is in a locked container other than the glove compartment or console; or (B) if the transportation is by other means, the ammunition, magazine, or feeding device is in a locked container. (b) In subsection (a), the term transport includes staying in temporary lodging overnight, stopping for food, fuel, vehicle maintenance, an emergency, medical treatment, and any other activity incidental to the transport, but does not include transportation— (1) with the intent to commit a crime punishable by imprisonment for a term exceeding one year that involves the use or threatened use of force against another