You can turn off specific iCloud features, or iCloud as a whole, on most Apple devices and on a Windows computer.
You can turn off your iCloud music library to stop syncing your music across all of your Apple devices.