Apple has stated publicly that they consider jailbreaking illegal and void your warranty if you do it. It's only still possible because people keep finding holes in their code.
Your analogy doesn't work because the only way to open the door on your Apple house is to pick the lock.
Your analogy doesn't work because the only way to open the door on your Apple house is to pick the lock.