Short answer, you can stop files from going to OneDrive in three easy steps:
1. Go to OneDrive settings.
2. Click the taskbar icon > click “More (three dots)” in the pop-up window.
3. Click “Pause syncing”. You can select how long to pause the process, 2 hours, 8 hours, or 24 hours.