Additionally for those with Windows 11 Pro or higher, you can straight up block OneDrive and other cloud functions with Group Policy.
The world has certifiably lost its mind if this or any of the workarounds mentioned by the parent are acceptable to the baseline UX of a major paid OS.