You might don’t want someone to move you taskbar indivually or virus has lock it. So now you can unlock or lock it by your selves as below:
Go to start > run > type : regedit . Then go to this path:
-Create New key name: TaskbarSizeMove
-Type: DWORD Value
-Value Data: 0
Note: Value data=0 mean lock it, Value Data=1 mean unlock it.