"Disk Locked" macOS reinstall! I have just wiped my iMac, and something must have gone wrong in the process as i cant change the boot drive by holding down option key and when i go to install reinstall macOS through macOS utilities when i select the 500GB hard drive the main one it just says "Disk is locked". Can anyone help me with this issue?
You have to create a new volume prior re-installing OS X. Otherwise you can’t select your drive.




Select Disk Utility from the utilities window of macOS Recovery, then click Continue.
Select your harddrive in the sidebar
Click the Erase button (MAKE SURE YOU DO HAVE BACKUP)
Format: Choose Mac OS Extended (Journaled)
Scheme: Choose GUID Partition Map.
Go back to the OS X installation guide.