If you do get back into BOOTLOADER MODE, type "fastboot oem unlock [enter your code here]" and hit enter - your code should flash and the bootloader will now report that it is unlocked. If you are able to get back to BOOTLOADER MODE but the unlock fails, then there is an issue with the unlock...