I also had an issue with a locked disc when I was in recovery mode. I ended up installing High Serria on a thumb drive, rebooting the mac holding down command, and selected the thumb drive to boot from. From there I was able to erase the mac's hard drive with JOURNALED selected. Exit disc utility and installed High Serria. It's installing now. I'll message again if there are any problems.