change: schema.lock method has been added.