Text this: Transverse barrier formation by electrical triggering of a metal-to-insulator transition