Always turn off the lights when you leave the room, okay?

Literal

Room [object-を] exit [when-とき] [topic-は] surely lights [object-を] turn-off [right?-ね].

Uses ~とき (when) to frame a habitual instruction. The dictionary form 出る before とき implies the action hasn't happened yet — contrast with 出たとき, which would mark a completed departure. The sentence-final ね softens the instruction into a friendly reminder.