idiom
tear one’s hair out
Meaning
to be extremely worried or upset
Example
She was **tearing her hair out** trying to find her lost keys.