Source: Microsoft article: Stop sharing OneDrive or SharePoint files or folders, or change permissions