In Windows 10, you can disable all taskbar settings if you wish.
Please note that this will not affect taskbar pinning and unpinning.
Let’s see how to do this task in Windows 10.
Go to User Configuration > Administrative Templates > Start Menu and Taskbar.
Double-click Lock all taskbar settings in the right pane.
Select Enabled and hit OK.
Restart your computer.
That’s it. Open the taskbar settings, and you’ll see that the settings are grayed out.
Note that you can enable all taskbar settings by following the above steps and selecting Not Configured or Disabled.
I recommend backing up the Registry before continuing.
If you want to do this task for a current user, then go to HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Policies > Explorer.
If you want to do this task for all users, then go to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Policies > Explorer.
Right-click on the blank space in the right pane.
Select New > DWORD (32-bit) Value.
Enter TaskbarLockAll as a name and then press Enter.
Double-click it and then enter 1 in the Value data field.
Hit the OK button.
To enable, follow the above steps but replace 1 with 0 or delete the DWORD.