Click Courses on the left. Choose the specific course.
Under General Settings check Force Order. Click update.
With Force Order enabled, course modules will have a padlock icon beside them until the previous module has been completed.
When a user clicks on a module that they cannot yet access, this notification will appear.