lock decl