KeePass fails to lock workspace if "Edit Entry" modal is open.
Steps to reproduce:
1. Enable "Lock workspace after global user inactivity (seconds):" (under Tools > Options > Security)
2. Set it to a very short time to test, like 10 seconds (for example)
3. Open any entry and leave the "Edit Entry" modal open
4. Wait 10 seconds
The program does not lock, which partially defeats the purpose of the feature. Only user activity should prevent the workspace from locking.