How to use "cocked" in a sentence

Sentences

She cocked her head, listening closely

Elliot cocked his head, studied her with those probing, dark eyes