Restrict access settings
From MoodleDocs
The restrict access area is found in most Moodle activities and resource settings. They allows the teacher to set open and closed dates, if desired. It also allows the teacher to set grade conditions for access Conditional activities.