Yoast SEO no longer uses meta keywords for SEO purposes, because Google and most major search engines don’t use them for ranking
But it’s okay to add them if you want.
Yoast SEO focuses more on title, meta description, and content keywords — which help ranking better
Open WordPress Dashboard
Go to Yoast SEO → Settings → Advanced
Turn ON the option called “Use meta keywords tag”
Go to any post or page you want to edit
Scroll down to the Yoast SEO box
You’ll see a field called “Meta keywords” — type your keywords (separated by commas)
Click Update/Publish