N2
にしたがって
As, Following, As then, According to, In accordance with
テレワークの普及が進むに従って、通勤するサラリーマンが減っていっている。
As teleworking becomes more widespread, the number of office workers commuting to work is decreasing.
Explanation
「にしたがって」 has 2 uses
1As … changes
As the first thing changes, the second changes with it: 「標高が高くなるにしたがって、気温が下がる」 (the higher you go, the colder it gets).
年を取るに従って、目がどんどん悪くなっていってる気がする。
I feel like my eyes are getting worse and worse as I get older.
テレワークの普及が進むに従って、通勤するサラリーマンが減っていっている。
As teleworking becomes more widespread, the number of office workers commuting to work is decreasing.
2Following (rules)
Doing as instructions, rules or a guide say: 「先生の指示にしたがって行動する」 (act on the teacher's instructions).
この原稿に従ってインタビューに答えてください。
Please answer the interview in accordance with this manuscript.
僕はただ上司の指示に従って仕事を進めていただけです。
I was just following my boss' instructions to get the job done.
Mixed up with
「につれて」: only 'as things change'; it cannot mean obeying: not 「指示につれて」.
「にしたがって」: can mean both changing along with something and following instructions or rules.
「に伴って」: leans toward side effects of a big change.