How to use "lack" in a sentence

Sentences

Enjolras and his friends shook their heads with amazement at their friend's lack of awareness, and soon left the room

One evening, when Marius was talking to Cosette and Jean Valjean about the mystery and his unsuccessful attempts to solve it, he became angry with Cosette's guardian's lack of interest in his story.