The teacher set some homework ____________ the end of the lesson.

The teacher set some homework ____________ the end of the lesson.

Explanation

 We use preposition at to describe a position or location seen as a point.

At the end of the lesson.