How to close the auto update of wordpress

In the wp-config.php file, add the following sentence.

define(‘WP_AUTO_UPDATE_CORE’, false);