OS X base system is locked, unable to install Sierra on Mac
Boot to Internet Recovery Mode (shiftaltcmdR)
Open Disk Utility and erase your internal disk
Install macOS (the macOS that came with your Mac, or the version closest to it that is still available will be installed). 
After rebooting and configuring your system download and install macOS Sierra.