How is this legally different from just not unlocking your phone? Which in this scenario seems like it'd be fine.
The worst case of refusing to unlock your phone is that they keep your phone for some days/weeks/months while they investigate.
The worst case of refusing to unlock your phone is that they keep your phone for some days/weeks/months while they investigate.