These policies are called tariffs. When you introduce a tariff, a foreign good, imported ones, become more expensive because taxation on them is higher, meaning that the product is expensive. That's why people start buying locally produced goods and there is a lower trend in purchasing foreign goods.