Once you unlock the taskbar, it's ready to move to any horizontal or vertical edge of the desktop.
Right-click an empty space on the taskbar. If Lock the Taskbar has a check mark next to it, the taskbar is locked. You can unlock it by clicking Lock the Taskbar, which removes the check mark.
To lock the taskbar back into place, right-click an empty space on the taskbar, and then click Lock the Taskbar so that the check mark appears.
Click an empty space on the taskbar, and then hold down the mouse button as you drag the taskbar to one of the four edges of the desktop. When the taskbar is where you want it, release the mouse button.