to talk angrily or seriously to someone in order to criticize or warn them, in a way that they think is unfair or unnecessary:
I wish you'd stop lecturing me!
lecture somebody about/on something
He began to lecture us about making too much noise.
to talk to a group of people on a particular subject, especially to students in a university
He lectures on European art at Manchester University.