You can modify the shipping states for a selected country in WooCommerce. To achieve this, simply insert the below-given code snippet to the functions.php of your active child theme file.
To modify both shipping and billing states for a selected country, you can use the below-given code snippet: