Can't boot with secure boot enabled

Hello, i am trying to enable secure boot, but i get this error when trying to boot

error: shim_lock protocol not found.
error: you need to load the kernel first.

Press any key to continue...

Any advice?

Try restoring the bootloader and reinstalling the relevant packages:
The GRUB2 Bootloader – Installation and Configuration :: Fedora Docs