I suspect the lid sensor is reporting inverted values.
when moving a magnet near the sensor : Event: time 1567454822.385329, type 5 (EV_SW), code 0 (SW_LID), value 0
moving magnet away : Event: time 1567454828.075064, type 5 (EV_SW), code 0 (SW_LID), value 1
This seems to be cause of the shutdown issue we are having on debian buster.
Without a magnet near the sensor, systemd will start "/lib/systemd/systemd-sleep suspend" almost immediately, which currently just locks up, and won't go down when the system gets a shutdown signal.
With a magnet near the sensor suspend doesn't start, but it will get launched as soon as the magnet is removed.
Disabling all suspend/hibernation options in /etc/systemd/sleep.conf is a workaround for now.