Nelson Teich resigned after disagreements with President Jair Bolsonaro, who opposes lockdown measures.