@RogueDragon - Follow this guide
[GUIDE] Grub Fix Intel FPT Error 280 or 368 - BIOS Lock Asus/Other Mod BIOS Flash
Rename .efi file to >> Shell.efi or Shellx64.efi
Unsure which is correct, since I can’t see your BIOS exit page, selecting this item and reading help text there will tell you which
RTC Memory Lock variable to disable >> 0x16
BIOS Lock Variable to disable >> 0x17
Force unlock on all GPIO pads variable to disable >> 0x18
FPRR variable to disable >> 0x6DA
So, at grub prompt, type the following one line at a time, enter between each (case sensitive)
setup_var 0x16 0x00
setup_var 0x17 0x00
setup_var 0x18 0x00
setup_var 0x6DA 0x00
After that, reboot to OS, make a new FPT BIOS region dump using new name (like biosregnew.bin) and then try to write it back and see if you still get error 167
If you have success, upload biosreg.new for me, if you still get error 167 you will have to get flash programmer (CH341A) + SOIC8 test clip with cable to put unlocked BIOS on this system