Tell that to the iOS developer who is getting bad reviews because the app does not run correctly on jailbroken devices where some system modification has been installed.
In this sense, "Just works" relates to restrictions on users.
No. Still attacking a symptom. Standard compliance solves the same problem, without having to lock down the system. If programmers are unable or unwilling to conform to standards, then this is again not the fault of the system[1]. Give up on arguing that there is any sort of causation between "locked" and "just works". It's wrong.
[1] Actually, in this case it's the fault of the system. The lock places a false sense of security on programmers, which is pretty dangerous.
But standards compliance is a sort of restriction on the apps the user can run. If you make the standards stricter and stricter, you restrict the space of configurations more -- and make it easier to get configurations that work together.
Besides, standards, at least open ones, are usually collaborative efforts of multiple actively involved parties, while restricted systems are controlled by a single entity - which again is bad.
Jailbreaking and the third-party add-ons that it enables can increase the Just Works factor of a device.
And in what way, shape or form does this require the device to be locked down to hell and back? That argument is a fallacy - correlation does not imply causation. The two things are completely unrelated to each other, yet people continue to assert that from one follows the other (locked -> just works), and that the opposite is also True (free -> doesn't just work).
It's bullshit, and I'm sick and tired of hearing it. There's absolutely no reason for locking down a device besides wanting to restrict the user's freedom. This isn't about "just working", it isn't about better support, it's about unjustified control over the user's actions.