Instead, go to your command prompt (still in fastboot mode) and type:
For the P30 Lite, there are no official unlock codes. You cannot simply type fastboot oem unlock —the command will fail.
If you simply want to remove bloatware or change the launcher, you don't need an unlocked bootloader. Use to uninstall packages or install a third-party launcher like Nova.