Fixes #6310 - Fix typo and make the lock error message localized