A “locked container” is something that is fully enclosed to prevent access. It has to be locked with a: padlock, keylock, combination lock, or other locking device. The following areas of a car are not locking containers under California's firearm laws: Utility compartment, or Glove compartment. To be legal, the firearm cannot be pried out of the container while it is locked. Locking a gun case with a cable or trigger locks may not prevent this from happening. The container does not need to be a hard shell case. Gun bags or range bags suffice, as long as they are locked.