If there are multiple drives installed in the computer, then it can create confusion as to which drive has a Bootloader. This scenario usually happens when Master Boot Record is on the wrong drive.
Ensure your PC boots safely before Secure Boot changes.