Any person subject to this code who violates or fails to obey any lawful general order or regulation, including an order to report for state active duty, or is derelict in the performance of his or her duties shall be punished as a court-martial directs.