add nb_lock_file