To teach (somebody) by giving a speech on a given topic.
The professor lectured to two classes this morning.
To preach, to berate, to scold.
Emily's father lectured her about the importance of being home before midnight.