Implement, document, and test defaultLockLifetime.