Hi,
First, you will need to disable Secure Boot, and then you will update the BIOS.
Please keep in mind that while a BIOS update is recommended, it does carry risks. If the process is interrupted, your laptop may fail to boot. Therefore, if you lack experience with hardware and software, I suggest skipping this step—though, again, it is highly recommended.
To update the BIOS, you must first disable BitLocker. To do this, open the Command Prompt (as an administrator) and run the following command: manage-bde -off C:. Wait for the decryption process to complete, then restart your computer.
After that, you can download the BIOS via the link below:
For instructions on how to perform the BIOS update, see: https://pcsupport.lenovo.com/br/en/products/laptops-and-netbooks/legion-series/legion-5-15ach6/solutions/ht500008
Once the BIOS has been updated, verify that CSM is disabled and ensure that "Windows Boot Manager" is present in the boot options.
If it is, boot into Windows once, then return to the BIOS, enable Secure Boot in "Setup Mode," and restore the keys.
Check whether the system boots; if it does not, we will need to update the keys manually.
While this is not a Microsoft website, it is the official site of [Legion 5 15ACH6/Lenovo].
Thanks