I hear '自粛' as a Japanese word for lockdown too. Particularly I hear the word, '外出自粛' often.
外出自粛 is spelt がいしゅつじしゅく in hiragana. 外出 means going out. 自粛 means self-restraint. 自己隔離 (じこかくり) is when someone tested positive and has to stay at home. 外出自粛 is more general.
If my understanding is correct, 'lockdown' can be used both when a city is closed and when someone coops themselves up in their home in English. There is a Japanese-English word, ロックダウン pronounced similarly to 'lockdown'. But when you say ロックダウン, you are referring to shutting down a city. You can't use it for a human. 都市封鎖 (としふうさ)means the same as ロックダウン. 都市 means a city and 封鎖 means blockade.