Add a lock around the OBJ_NAME table