This article explains how to pause, disable, and uninstall Microsoft OneDrive.
How to Turn Off OneDrive on Your Windows 11 | Stop Syncing a Folder in OneDrive (NEW)
If you want OneDrive to immediately stop backing up your files and folders, pausing is the quickest solution.
On the desktop, select the small arrow next to the date and time in the lower right corner. Select OneDrive.
Now in the OneDrive window, select the gear icon in the upper right corner. Select Pause syncing.