How to use "flicking" in a sentence

Sentences

But she and Elliot left the outer office, flicking off the lights as they went, and the computer remained dark and silent.