Prevent kernel updates on Ubuntu

sagar@pop-os:/boot$ uname -r
5.11.0-7620-generic
sagar@pop-os:/boot$ sudo apt-mark hold 5.11.0-7620-generic
linux-buildinfo-5.11.0-7620-generic set on hold.
linux-cloud-tools-5.11.0-7620-generic set on hold.
linux-headers-5.11.0-7620-generic set on hold.
linux-image-5.11.0-7620-generic set on hold.
linux-modules-5.11.0-7620-generic set on hold.
linux-modules-extra-5.11.0-7620-generic set on hold.
linux-tools-5.11.0-7620-generic set on hold.

To remove the hold

sudo apt-mark unhold 5.11.0-7620-generic

To show all held packages

apt-mark showhold