About various lessons on the same cours

I have a huge problem and have been looking for the solution for several weeks, without success. The objective is to ensure that training participants cannot see a lesson without validating a previous lesson on the same course. Is this technically expected? Should we touch the codes? Or do you have a solution for me?
Thank you for you help. Hello from France. Alex