We do not currently know of any antonyms for teaching someone a lesson.
The verb teaching someone a lesson is defined as: