How to stop typing and tapping vibration on Android 10 phones

Go to settings
Then tap on Sound.
Now tap on “Advanced”
Scroll to the end of the page.
And disable the button next to “Touch vibration”
This should disable vibration while tapping or typing.

Method number 2:
Go back to settings.
Then tap on “Accessibility”
Scroll up
Then tap on Vibration and haptic strength.
Tap on “Touch feedback”
Here you can also disable typing and tapping vibration by turning off this button.