British NCSC security recommendations for Ubuntu 20.04
https://web.archive.org/web/20180804151829/https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS
https://support.google.com/a/answer/6328676?hl=en&ref_topic=6079327
Disclaimer: This is a gov.uk site, use tor or something to protect your privacy!
https://www.ncsc.gov.uk/collection/device-security-guidance/platform-guides/ubuntu-lts
The step-by-step instructions are unfortunately gone, :( But there is still the GitHub post script