Gate-tuned superconductor-insulator transition in (Li,Fe)OHFeSe