window.ezstandalone = window.ezstandalone || {}; ezstandalone.cmd = ezstandalone.cmd || [];

Choose what closing the Lid does option is missing in Windows 11