I just bought apple iPhone 4s from my friend but it throw an error "This Apple ID has been disabled for security reasons" is it possible that i change apple ID during this state? Or is there any other way to change it?
Another option, if you don't have any purchases linked to that Apple ID, is creating a new one using a different email address. You just have to sign out of the current Apple ID (if that's even necessary) and sign up for a new one. All of that is done from within Settings -> iTunes & App Store, although the sign up process might be easier to do on a computer with a real keyboard, from within iTunes (Store menu -> Create Apple ID...)