Thanks Vladimir for this useful suggestion. Using your code I reach to automatically enable 3 of 4 options. Do you know why?
Wpseo bulk edit
Wpseo manage options
Wpseo manage redirects
but not
Wpseo edit advanced metadata
….I honestly didn’t understand the reason