This article explains how to hide the taskbar in Windows 11.
How to Hide the Taskbar in Windows 11
The Windows 11 taskbar sits at the bottom of your screen by default and contains the Start menu, shortcuts to your favorite apps, action center icons, and clickable buttons for switching between running apps. If you find it takes up too much space, you can hide it so it only appears when you need it.
Here's how to hide the taskbar in Windows 11:
Right-click on the taskbar and select Taskbar settings.