I got Fedora and Windows 11 dualbooted on my HP laptop (it doesn't need to be dualbooted), pretty sure that this is the same for other systems so do this, it fixed the problem for me:
Reboot your laptop, press the key on your keyboard that can make you select which partition you want to boot into. (mine is F9, for others it's varying)
Then, select the drive on where you installed Ubuntu, select EFI, then select BOOT instead of ubuntu (or your distro name)
Then, boot into BOOTX64.efi (NOT bootx64.efi in the ubuntu folder), then it'll show a fullscreen prompt that says "Boot Option Restoration", then there will be a countdown on the bottom left screen.
Then, just wait for it to complete, then once you restart your computer the GRUB bootloader should appear, your computer will be usable again, and the Reset System screen should be gone! :D