When the tool is downloading the package you don't need to keep it unlocked but you should keep it plugged in. The phone will automatically go into flashing mode when the download and package hash checks are done