KeepassXC Won’t Close Database When Screen Locks

Continuing the discussion from KeepassXC - hide window to system tray when minimized:

Yes. The reason behind is the same: the app just don’t know about screensaver at all, as it runs in dom0.

My workaround is the locking by the incativity time.