I given my iPhone for repair now they are asking me the password I have some private photos in it .so what I need to do whether I will give the password or is there any other option. Please help me
Welcome to iMore! Only 3 options. Give them the password so they can service/repair the phone, or don't and not get the phone repaired. Or go to the shop and delete or send the photos somewhere else, then delete them. I doubt they have time to peek at your photos. You should get a photo album app where you can lock your private photos.
With the hundreds of phones they get repaired everyday, I don't think anyone is taking passwords. If you really are concerned, change your password upon the return of your phone.