More commonly in Japan, individuals will "lock themselves up" in their own home, very similar to what house arrest would look like.
It's referred to as hikikomori[1], the practice of becoming a recluse to avoid the stresses of daily life (school, work, anything). It's surprisingly common and tends to put quite a strain on families, but as it's so common, it's relatively accepted as a disease (or more directly, mental illness) of sorts.
I was going to mention this article. You beat me to it.
I found this rather interesting that people get locked up to escape daily life. I can see it from both sides. There are times I wish I wasn't doing the same things day in and day out, but I value my freedom to much to lose it.
EDIT: found it https://www.bloomberg.com/news/features/2018-03-16/japan-s-p...