Lock | Unlock workspace - Rookiestyle/LockAssist GitHub Wiki

KeePass' 'Lock workspace' by default will lock all loaded databases whereas 'Unlock workspace' will only unlock the currently selected database.

LockAssist changes the behaviour of 'Lock Workspace' for both the menu entry as well as the toolbar button. If this option is active ALL loaded databases are locked / unlocked by using these commands. It depends on the active document's state whether a global lock or global unlock is performed.

Hold the [Shift] key pressed to only lock / unlock the active document.

If you switch to another database and this database is locked, only this one will be unlocked. This is valid regardless of this LockAssist setting.

If all databases are being unlocked, you can decide to skip those databases you don't want to open. You can also stop this global unlock by unchecking the corresponding checkbox in the key prompt form.

Examples

Exactly 1 database loaded

You won't see any difference.
Locking and unlocking will behave as usual.

More than 1 database loaded

  • [Shift] key not pressed and currently active database is unlocked ==> All loaded databases will be locked. This is the KeePass default.
  • [Shift] key not pressed and currently active database is locked ==> All loaded databases will be unlocked one by one. This is an enhancement offered by LockAssist.
  • [Shift] key pressed
    • 'Lock workspace' will lock the currently active database only. This is an enhancement offered by LockAssist.
    • 'Unlock workspace' will unlock the currently active databases only. This is the KeePass default.
  • Switch to another database tab ==> Only this database will be unlocked. This is the KeePass default.