To make it so that Ubuntu will not prompt you to upgrade to a new release of Ubuntu, including LTS releases, do the following:
Open /etc/update-manager/release-upgrades
in a text editor:
sudo nano /etc/update-manager/release-upgrades
Change the bottom line to “Prompt=never” as in the picture below.