While many guides are available as videos, the following steps outline the general process found in technical resources: How to use ADB & FASTBOOT in Termux | No Root
: Unlocking the bootloader wipes all user data from the target device. unlock bootloader using termux link