How to Boot and/or Wake Laptop with Lid Closed?

It seems this is possible, for me it behaved like this by default under Linux (but it also woke up on dock poweroff, which was problematic for me, which I fixed by reconfiguring systemd to use the “shutdown” method instead of the “platform” method, see Laptop powers *on* after hibernate when unplugging/unpowering dock - #13 by Matthijs_Kooijman for details). No idea how this translates to Windows, though…