Adding section prerequisites


I am looking to be able to set the prerequisite requirement for individual sections I know that this is already possible with course subsections and individual courses but do not think there’s an option to set prerequisites for the individual main sections within a course.

For example, would like to have sections “Python” and “C++” locked until the student has completed “Intro to Programming” section. Think this is only possible with the subsections and not the sections at the moment but am not sure. Does anyone know if there is a way to activate this feature for sections as well? And if not where can I go to learn more about how to add this functionality for course sections.

Thank you