The phrase
"to lock the bootloader" means to secure or restrict access to the software that allows you to install custom operating systems, tweaks, or modifications on a device, such as a smartphone or computer. By locking the bootloader, the device manufacturer limits the user's ability to make changes to the system's software.
Full definition