The lights of an elevator car are fed from a circuit that also feeds corridor lights. The circuit can be locked open at a disconnect. Does this installation meet the requirements of the National Electrical Code?

The lights of an elevator car are fed from a circuit that also feeds corridor lights. The circuit can be locked open at a disconnect. Does this installation meet the requirements of the National Electrical Code?