You’ll be changing the security keys in wp-config.php. This will invalidate all the cookies etc. To enable this feature, please take a look at our guide on how to enable site hardening.