This documentation will help you to solve the issue regarding accessing your Google Account from a third-party application such as Outlook
Issue: Keep prompting to type a password Root Cause: Third-party apps need access/authorization to Google Account in order to read the data (e.g. Email) Solution: App Passwords will generate a password for authorization access.