Yes you can. This is done by creating ‘access rules’ for specific units, lessons or activities available in a course that you have linked to a class. Access is either ‘locked’ or ‘unlocked’ by the rule. You can apply specific dates to your rules if you wish.
For guidance on how to create these rules, read: How do I create rules to manage student access to learning materials?