If i restore my iphone 4, WILL IT REMOVE MY PASSCODE LOCK?

I forgot my iphone 4 passcode and my iphone 4 is disabled. It says "Iphone is disabled connect to itunes "

my question is, if i restore my iphone, will it remove the passcode lock?

That's pretty much why it says to connect to iTunes…
oh and the moment your device displayed that message your device's NAND was instantaneously wiped of all of your data