you need to ask your friend for his/ her xiaomi account password to be able to o unlock it