add progress_lock data structure