A quick google search is all you need. All I did was search for your title using google.
Here are some methods for you to stop OneDrive sync:
You can stop OneDrive sync by unlinking your user account in OneDrive application:
1. Right-click on the OneDrive icon on the taskbar, click on the Help&Settings button and select Settings option. If there is no OneDrive icon, launch the application by searching for it in the start menu.
2. In the Settings window, go to the Account tab. Here, click on the Unlink this PC link under the OneDrive section.
3. You will immediately see a confirmation window. Click on the Unlink Account button to continue.
-----------------------------
If you want to fully stop OneDrive sync in Windows 10, then you can choose to use Group Policy:
1. Open the Run dialog box (Win + R), type gpedit.msc and click on the Ok button. This action will open the Group Policy Editor.
2. You will see a bunch of folders on the left panel. Go to the following folder.
Computer Configurations -> Administrative Templates -> Windows Components -> OneDrive
3. In the OneDrive folder, you will see all specific policies related to OneDrive management. Here, find and double-click on the “Prevent the usage of OneDrive for file storage“ policy.
4. In the policy properties window, select the Enabled radio option.
5. Click on the Apply and Ok buttons to save the policy changes.
6. To apply the changes, restart Windows.
You must be registered to see the links
There is also this one here where you can turn off disable uninstall or stop a file being synced.
You must be registered to see the links