The functionality similar to lock on vehicles from arma 3 is missing,
if the ability to lock compartments for both AI and players was added that would be grate.
as lock is used for temp block currently maybe something like blockAccess(bool block)
or add it next to the current BaseCompartmentSlot.SetCompartmentAccessible(bool val)
SetCompartmentAccessibleForAll(bool val)