Assuming you're in Pennsylvania (based on your location), there is no specific law that tells a medical marijuana patient exactly where in a personal vehicle cannabis must be stored (such as "in the trunk" or "locked in a container"). The lockbox requirements you may find online apply to licensed dispensaries and transport companies, not individual patients.
That said, the safest and most commonly recommended practice is to:
- Keep it in its original dispensary packaging with the patient label attached.
- Store it in the trunk or, if your vehicle doesn't have one, in the rear cargo area out of the driver's immediate reach.
- Keep it out of plain view.
- Never use cannabis or have an actively burning or vaping product while driving.
- Carry your medical marijuana ID card with you.
Also be aware that Pennsylvania has strict DUI laws involving cannabis. Even if you're not visibly impaired, having certain amounts of THC or its metabolites in your system can create legal issues if you're stopped and investigated for DUI.
If your question is about recreational cannabis rather than medical marijuana, the answer is different: recreational cannabis is not currently legal in Pennsylvania, so transporting it in your vehicle is generally unlawful.
If you tell me whether you have a medical marijuana card or are asking hypothetically, I can give more specific guidance.