While strongly discouraged, sometimes you need to prevent WordPress from automatically updating or from updating entirely. To accomplish this you just need to add two lines of code to your wp-config.php file.
define( 'AUTOMATIC_UPDATER_DISABLED', true );
define( 'WP_AUTO_UPDATE_CORE', false );
Thats it. You will no longer have the option to update WordPress in the admin area.