As described in https://github.com/swaywm/swaylock/issues/198 and fixed in https://github.com/swaywm/swaylock/commit/366db56553ee02334871756ab19c72d2171ad364
This MR can be closed as version 1.6, which contains that commit, has been uploaded to Debian more then a year ago.
closed