Question: disk is locked mac os sierra?
Answer: Power it down.
Hold down Option-Command-R while powering on; you can let go once you see the progress bar. ... 
When the recovery window opens, go to Disk Utility. ... 
Choose Erase. ... 
Exit disk utility, then reinstall High Sierra.