Locked containers aren’t required by law in Maryland. In a gun case or holster, in trunk and separate ammo. Ammo in a magazine is ok.
Might have misread the material or forgotten. Also could have been the fact that I have no trunk, thus need a locking container in many circumstances, though I use them anyway. Still a difficult state to travel through.