LockManager added in Middleware