You need to unlock your bootloader.
-
Enable USB debugging in the developer options;
-
Reboot the phone in fastboot;
-
Connect the phone to your PC;
-
Run the commands bellow, line by line:
touch key.txt
fastboot oem get_unlock_key key.txt
fastboot reboot-bootloader
-
It should show a warning that the bootloader is unlocked;
-
Reboot in fastboot and install TWRP again.
Use zerotier one, it’s much better.