Disabled One Drive in Windows

One Drive was included in Windows, however we can disabled it through Local Group Policy Editor.

This will disable OneDrive for all users of the computer, not just you.

Press Windows + R to show Run dialog box, type "gpedit.msc" at Run dialog box.
winrun-gpedit
Step 2
If you are using Windows Home Edition, please refer How to enable gpedit.msc in Windows 10/11 Home Edition?
In the Local Group Policy Editor, navigate to Local Computer Policy > Computer COnfiguration > Administrative Templates > Windows Components > OneDrive
lgpe_onedrive-prevent-usage
Double click or right click to choose edit at Prevent the usage of OneDrive for file storage box. Select Enabled, then click OK.
enable-onedrive-prevent-usage-file-storage