This is really a blend of the fourth and fifth amendments.  The fourth amendment protects you from the government randomly seizing your phone, but the right to not incriminate yourself under the fifth amendment is what is used to justify not being able to compel someone to unlock&#x2F;decrypt their device.