htc one x unlocking problem

hi my htc not unlock when i try direct unlock it show this message
WARNING! SIMUNLOCK in this mode maybe not supported by THIS PARTICULAR PHONE!
Writing simlock: ERROR [SECURITY_FLAG_ON]

pls tell me solution