I normally use the "Change what closing the lid does" setting on laptops but it is not in Settings on Windows 11 nor is there a link to it. You have to know what search term to use to find it.
Yeah, that one is still stuck in power plan settings for some reason. But they’ve been moving to one “Balanced” plan for a while now so I guess that entire panel is going away.