Can Moroccan police legally force someone to unlock their iPhone or provide the passcode ?

If arrested or stopped by Moroccan police and they ask to search the data in my phone, Do I have to unlock it or provide the passcode to them ?