Hide shipping method when free shipping is available
Enable WooCommerce default Free Shipping Method and use the below code snippet to hide shipping pro methods when free shipping is available.
Add the following code to your functions.php or anywhere relevant.
If you are looking for a plugin to do this job, visit ELEX Hide Shipping Methods Plugin. Using this plugin, You can easily hide shipping methods based on various conditions.