I would appreciate if someone could help me to create an if statement for the following scenario:

What I am after is that when a user selects a specific PRO then only the localities related to that PRO appear under the dropdown Locality. If no PRO is selected, the Locality dropdown returns all the localities.
Is this possible please?
Cheers,
Sergio