Do this by right-clicking the taskbar, clicking Settings, and turning on Automatically hide the taskbar in desktop mode.
If you hate the way the taskbar looks, you can set it to automatically hide whenever it's not in use (move your mouse over the taskbar area to see it again).