There is NO requirement for cases to be locked while transporting in maryland.
Not locked, but closed/enclosed. Handguns DO need to be in an "enclosed" holster or closed case in MD. MD is pretty lenient on what consitutes an enclosed holster; basically any retention strap over the top is good to go, even a single loop of leather string.