I used Code from his post here
thanks to @OopsWare for his analysis of this code here
I am not responsible for any damage at your device!
You're running this program on your own risk!
Here's unlock Program it does the following
1-try to read odm_reserved
2-check if your bootloader unlocked or locked
3-calculate the most effective string that you have to echo to reverse bootloader state(it will relock if your Bootloader is unlocked - unlock if your Bootloader is locked
4-you can copy echo command and use it after su root in terminal
DONT BLOWN ALL FUSES WITH echo /data/local/tmp/odm_reserved >/sys/firmware/fuse/odm_reserved
by using this program you have 16 chances to unlock relock bootloader before all fuses blown
you can read how this works here