Plenty of kids spent two years locked at home. Plenty of middle-class adults with remote jobs spent two years locked at home, with weeks at a time literally not opening a door to the outside.
In the two cases I know of relatively wealthy (upper-middle class developers) couples with remote jobs who had a child either in the year before or at the beginning of lockdown, they were 100x more isolated than the other people I knew.
I blame this on the hysterical coverage of infant covid deaths on the news, when the national numbers of infant deaths were something you could have counted on your fingers. Every infant death was national news for some stupid, obvious reason.
edit: And this was real isolation. People wouldn't allow relatives or parents to visit. They were more likely to get their mothers to move in and live with them than to let them visit (thinking about one of the two couples specifically.) This is the opposite of what normally happens with newborns.