How to Re-Lock Asus Zenfone Bootloader


The trouble after unlock bootloader : Furthermore, such repaired Revised Product will not be covered under the warranty of the Original Product; the software of the repaired Revised Product will not be deemed the software of the Original Product and will not receive ASUS software updates.

But we can re-lock the bootloader

Resources:
Steps:
  1. Download the Latest ROM/Firmware (V1.17.40.1X or latest version)
  2. Copy if.bin from system/etc/firmware and ifwi.zip from ROM folder to Fastboot folder

  3. Extract  ifwi.zip there will be dnx_fwr_ctp_a500cg.bin and ifwi_ctp_a500cg.bin (if zenfone 6 : dnx_fwr_ctp_a600cg.bin and ifwi_ctp_a600cg.bin
  4. The phone turned into bootloader (through when adb reboot bootloader or boot while holding down the volume up+ power button) and connect to a computer through a USB cable and open cmd by press shift + right click, open comand here at fastboot folder).
  5. Unlock bootloader syntax: (ZenFone 6 please dnx_fwr_ctp_a500cg.bin replace by dnx_fwr_ctp_a600cg.bin )
  6. fastboot flash dnx dnx_fwr_ctp_a500cg.bin
    fastboot flash ifwi if.bin
    fastboot reboot-bootloader
  7.  Re-Lock Bootloader syntax: (ZenFone 6 please dnx_fwr_ctp_a500cg.bin replace by dnx_fwr_ctp_a600cg.bin / ifwi_ctp_a500cg.bin replace by ifwi_ctp_a600cg.bin )
  8. fastboot flash dnx dnx_fwr_ctp_a500cg.bin
    fastboot flash ifwi ifwi_ctp_a500cg.bin
    fastboot reboot-bootloader
How to check the phone is currently locked or unlocked?

Locked:


Unlocked:
Thanks to Shakalaca