How to completely reset a disabled iPhone?

My friend sold me his old iPhone 4 and I need too reset it but he disabled it is there a way too reset it?

1st you hold the Home button for 10 seconds while it is off. Then you connect it to a computer and it should turn on and be reset if that dosent work take it to a apple store and they will reset it for you.