Sentence:  The warning kept him <WSD>out</WSD>. 
Meaning of the word marked with <WSD> tags:  To restrain someone or something from entering a place or condition.