This question has already been tackled here. Make sure to follow the instructions posted on the related answer and you should be able to unlock the device. Notice that settings and apps will be removed and the pictures, movies, videos you have on the device will be available after the operation.