A major WordPress release is coming and I’d want to see it on a copy of the site before the live one updates itself. The constant for that is one line in wp-config.php.
define( 'AUTOMATIC_UPDATER_DISABLED', true );
The official wp-config documentation gives two reasons for using it. A site may not want auto-updates because of customizations or host-supplied updates. And it can be done before a major release, to allow time for testing on a development or staging environment. When the testing is done, remove the line or set it back to false.
Core updates have their own constant, WP_AUTO_UPDATE_CORE, with three documented values:
define( 'WP_AUTO_UPDATE_CORE', false ); // no core updates
define( 'WP_AUTO_UPDATE_CORE', true ); // all core updates, minor and major
define( 'WP_AUTO_UPDATE_CORE', 'minor' ); // minor releases only (the default)
Pick one of them if you only care about core. Use AUTOMATIC_UPDATER_DISABLED when you want to switch the whole automatic updater off.
Caveats: the docs list the two constants in separate sections and don’t say how they interact, so I wouldn’t stack them and hope. Check the Updates screen afterwards to see what the site actually does. And a switched-off updater also means security fixes no longer arrive by themselves. Put a reminder in your calendar, because forgetting the line is how a site ends up three versions behind.
Further reading: Editing wp-config.php