The correct options are
C the doors were opened
D the lights were turned on
Principal clauses form a complete sentence and can stand alone without any extra information. Here both "the lights...on" and "the doors were opened" make complete independent sentences, hence Option C and D are correct. The rest of the options do not adhere to the goal, hence incorrect.