Have multiple windows open on your Windows 11 PC? Here’s a quick trick that will allow you to close all but the window you’re working in. But first, you’ll have to enable Title Bar Shake.
Start by typing Multitasking Settings into the search box and click on the results.

Scroll down to Title bar window shake and slide the button to the On position.

Once that’s enabled, you can click and hold the title bar of any open window and give it a little shake to minimize all windows except the one you’re using.