[Problem] Asus vivobook flip 14 tp412fac, How to unlock bios

Hi, I have asus notebook and i buy external graphics card to M.2 nvme slot but if I conenct card, internal graphics card turn off and with it the monitor (and HDMI in nb), in windows is only egpu and ubuntu - terminal also see only egpu. I understand that it disable bios. I download intel CSME System Tools (FPTW64.exe) and download my curent bios, modifed by AMIBCP, turn on all graphics settings and save as copy, i want flash but ez flash 3 in bios detected that it is not the official bios from asus, and flash from FPTW64.exe is listed error:

Error 167: Protected Range Registers are currently set by BIOS, preventing flash access.
Please contact the target system BIOS vendor for an option to disable
Protected Range Registers.

FPT Operation Failed.

I find this forum and download UEFITool.exe and IRFExtractor.exe i found hex code in bios I open Shell.efi from usb and write setup_var 0x5 0x0 wrote it: setup_var is not recognized as an internal or external command, operable program or batch file after that i download modGRUBShell.efi and write to grub setup_var 0x5 0x0 and wrote it: looking for 0x5 variable… and error: can’t set variable using efi (error: 0x800000000000001a) and doing nothing. After that i download RU.efi but, I searched BIOS Lock, Me FW Image Re-Flash next to text were everywhere 00.
How to unlock bios or flash my mod bios to turn on egpu and igpu or is there any way to flash mod bios from ez flash 3 utility? sorry for my bad english

@matous
Welcome to the Win-Raid Forum!
Since the procedure to unlock a mainboard BIOS and to get the modified BIOS flashed thereafter is quite different for different systems, you should add the manufacturer and the model of your notebook to the thread title. Furthermore you should make clear within the title, whether you want to write a Guide or just want a solution for a Problem. You can do it by adding the related prefix ([Guide] or [Problem]).
Good luck!

ok, tysm

in fpt folder as administrator “fptw64.exe -bios -d bios_region.bin”, send the dump here.

If you’re asking “How to unlock bios” assume it’s only for the AMI platform in general. It would be too much work for me to write all the bytes to edit in AMITSE, as different devices have slightly different structures and sometimes use dummy AMITSE.

HERE
bios_region.zip (5.0 MB)