Electrical Code…
Equipment enclosed in a case or cabinet that is provided with a means of sealing or locking so that live parts cannot be made accessible without opening the enclosure.
Informational Note: The equipment may or may not be operable without opening the enclosure.
(National Electrical Code® 100-1)