turn on your device then press the power button once then you device will show like this:
data network mode
data network mode deactivated
now click on data network mode
then click on ok. now your device data network will be enabled then sign in to your mail account and reset the pattern and pin. now your device will get started with new pattern of unlocking.