Accidentally locked my iphone 4s! How do i unlock it?

I went to settings and i accidentally locked it and now i can't access my phone.help!

You can unlock your iPhone 4s using the online site http://www.mobile-unlocker.com
You can get the remote unlock services from them and unlock it easily.
It gives the unlock codes and the step by step instructions.