Hello, thank you for reaching out to Microsoft Q&A.
1
May I please know if you have added any work or school account to the device?
Go to Start > Settings > System > Accounts > Access Work or School.
If you have a work or school account listed, temporarily disconnect it and see whether you can manage location services on your Windows PC. Your organization may have applied some policies, which may be why you see “some of these settings are managed by your organization.”
2
If you haven't added any work/school account and you still get the above error, here's what you can try -
Open the Command Prompt Administrator window, run these commands one by one, and click Enter for each command -
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKLM\Software\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKCU\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKCU\Software\Policies" /f
reg delete "HKLM\Software\Microsoft\Policies" /f
Once done, restart your computer and see if you can enable location services.