If the Location setting is locked or greyed out in Windows 10, it is typically being controlled by another app or tool, not by the standard Windows UI itself.
From the provided information, one known cause is privacy/telemetry blocking tools such as SpyBot AntiBeacon. These tools can enforce policies that disable or lock Location Services, and those policies can revert any changes made via gpedit or regedit after a restart.
To regain control of the Location setting:
- Open the privacy/telemetry blocking tool that was installed (for example, SpyBot AntiBeacon).
- Look for settings related to sensors, location, or telemetry.
- In SpyBot AntiBeacon specifically, uncheck or disable the sensors-related blocking options.
- Reboot the device.
- After reboot, go back to Start > Settings > Privacy > Location and verify that Location can now be turned on.
Once Location is unlocked and enabled, apps that require precise location should be able to function correctly again.
If using a work-managed device, note that an organization can also enforce location policies; in that case, the Location page will show “Some settings are managed by your organization,” and changes may require IT/admin intervention.
References: