It is possible to set the View rights on individual files and folders using Sharepoint in Microsoft Teams.
This is important if for example you wish to upload several weeks worth of materials, but gradually release them to students.
Here is a short video that explains the general process: