Correct decision by Indiana Supreme Court. A court cannot order you to give your password to your phone or computer; that is a classic definition of coercing someone to be a witness against themselves, prohibited under the Fifth Amendment.
https://www.in.gov/judiciary/opinions/pdf/06232001lhr.pdf