General how to enable carrier or wifi in too many pattern attempts window

view story

http://androidforums.com – so my problem is pretty much as the title says-my friend locked up my phone yesterday, i know my username and password but i have no internet connection enabled. is there any way on how to do that? really cba to do hard reset (General)