Here is a worksheet on the verb warn when followed by an object and an infinitive.
The announcement in the subway station warns riders to stand back when a train enters the station.
The teacher warned the students to study for their high-stakes tests.
If you find typos in this document, I would appreciate a notification. And, as always, if you find this material useful in your practice, I would be grateful to hear what you think of it. I seek your peer review.