I assume that /xfce4-power-manager/logind-handle-lid-switch needs to be set to 'false'.
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
I assume that /xfce4- power-manager/ logind- handle- lid-switch needs to be set to 'false'.
$ xfconf-query -c xfce4-power-manager -p /xfce4- power-manager/ logind- handle- lid-switch -s false