Only the ID given in part on the screen can unlock the phone. If you bought the phone second-hand (used) and it's been locked by the previous owner, only he can unlock it. If you can't contact him, you will never be able to use the phone. There is no way round that.
If you bought the phone new and the ID is yours but you have forgotten it, go to http://iforgot.apple.com to retrieve it.