Don’t know for the others, but in KDE you have system settings > Power management. There you can choose the action when closing the lid. So I quess this setting comes with every DE in Manjaro.
Correct me if I’m wrong, because I only use KDE.
In XFCE under Power Manager, there is an option to “Switch off display”, which I guess is what you want. It’s only available when the laptop is plugged in, battery doesn’t offer that option.
In addition, for laptop with external monitor, you can alter the settings in etc/systemd/logind.conf
e.g. to shut lid and keep laptop from suspend:
Uncomment the following:
LidSwitchIgnoreInhibited=yes
HandleLidSwitch=ignore
Then restart computer