"Feel safe at the thought of" or "in the thought of'?

You can feel safe "in" a place, "with" a person, or "at" the thought of something.

She felt safe in bed. She felt safe with her mother in the house. She felt safe at the thought of mother in the house. She felt safe at the thought of the door being locked.