Any person subject to this code who does any of the following shall be punished as a court-martial may direct:
(1) Violates or fails to obey any lawful general order or regulation.
(2) Having knowledge of any other lawful order issued by a member of the Alabama National Guard, which it is his or her duty to obey, fails to obey the order.
(3) Is derelict in the performance of his or her duties.