On PC: click on the "show hidden icons" ( ^ ), in the task bar > Right Click on the OneDrive icon > hover over the Pause syncing > select your time preference.
On Phone: Settings > Privacy > Background Apps > Choose which apps can run in the background > OneDrive > turn to "OFF"