Erasing student progress

I am trying to reset student progress so they cannot use a previous lesson in a final assessment. I have deleted that student from my class but they still can access their lessons.
I searched previous posts and the last I’ve seen is years ago.
I really hope you have found a way to do this. Thank you.