Press Windows key + M to minimise all windows in Windows 10, 11. To restore them, press Windows key + Shift + M.
Alternatively, you can use the shortcut Windows key + D. This shortcut shows the desktop by minimising all open windows. Pressing the shortcut again will hide the desktop and maximise all open windows.
You can also press Windows key + , (comma) to briefly display the desktop as long as you hold it down.