Iphone 5 how to turn off the disable feature when you get pass code wrong?

Sometimes my friends try to get in my phone or I accidentally type in an old password! And the disable feature is super annoying how can I shut it off? I believe I have ios 7 not sure but I have the latest version!

Disable the passcode feature. If you want a passcode there's no way around it other than using the correct passcode so it does not become disabled.

Unfortunately it's a security feature and it can't be turned off.

Have a look around Apple documents - perhaps there's a workaround http://support.apple.com/.../kb/HT1212