Yeah it's Microsoft's fault for allowing third-party applications be be installed on their OS. You'd never see OSX or Linux letting people install software without going through a walled garden.
Interestingly enough, the only commercial software that Linux people regularly install is it's own separate walled garden; Steam.
I can't speak for or against OS X, but with respect to Linux this is plainly false, unless by "Linux" you mean "Android" or by "walled garden" you mean "basic user authentication."