SCAL-421 Updating progress bar and acquire lock in destroy_temp_password.