I had this problem with an OVH server. Luckily it has IPMI access so I changed the boot order to skip the issue I had https://forum.proxmox.com/threads/grub_is_lockdown-after-upgrade-to-7.96819/
Someone else told me they done the following via rescue mode "I booted in rescue @ ovh, reinstalled...