The SamFW tool can often enable USB debugging via an ADB shell exploit even without the menu.
If you simply forgot your password but know the email, use Google's official recovery tools. Go to the Google Account Recovery page on another device. Follow the prompts to reset your password. Unlock FRP on SAMSUNG Galaxy Tab A8 10.5 -2021-