Go to Settings, Moore, Security, go down to the bottom of that screen and hit Clear Credentials.
A program which was downloaded or installed on your phone after you purchased it installed some type of credentials which prevented you from being able to remove your PIN or pattern.
I had the...