@BrandieThompson You can set module blocks to open at specific dates and times and you can also set them to require previous content to be viewed, submitted or graded before students can access them. This is also available at page level etc. This is in the three dot edit settings to the right of the module block.
I am not aware of any comparable feature to close modules, and I'm not really clear why you would want to do that - our accessibility requirements mean that students require access to content 48 hours in advance; I wouldn't see closing a module block as reasonable given that
i) they will require access to content for later assessments/reassessments
ii) in some courses students may revise for end of award exams up to four years later (for medical programs). Note that you cannot unpublish an assignment that has already been submitted to.
ii) the student can download the content for later use anyway ....
Whilst we have isolated uses of prerequisites and requirements, generally they act as a barrier to engagement by students who we struggle to engage anyway, so we've backtracked on our own use of these.