1. Go to settings.
2. look for an option named ' Sync'
3. open sync and there will be an option for which you want to turn off syncing.
4. There will be google, Mi, and WhatsApp accounts.
5. Choose the Google option for which you want to keep the syncing off.
6. choose the Gmail account you want to turn off syncing.
7. It will be turned off.