Hi
How are you locked out?  Did you  forget your login information?  If so, you'll  need to use Android Device Manager or Samsung's, Find My Mobile, web locations, to lock your device with another pin code, that you create at that time....this is assuming you have see either of these two up.
Chris