I just edited /etc/systemd/logind.conf to ignore lid close, as opposed to suspend, which seems to have worked. But now when I close the lid my external monitor goes to sleep. The system is still running though - if I move the mouse the monitor wakes up immediately.
Why is this happening?