I had this wacky custom ROM too, when the phone came from China. It ain't that easy to just unlock bl and than flash new ROM with it through TWRP. I did it with the instructions i found on 4pda.ru. the main thing is that you need to boot to TWRP right after installation, format data, reboot and...