iPhone 4 requires previous Apple ID
I am sorry, but you cannot use your iPhone without entering the code correctly. You may want to refer to this question here, as suggested by tubedogg: Activation Lock Ipod 5