You would have to look for a 3rd party app to do that because your phone does not have that option and if you want to set a security code that will lock the entire phone and not just the messages folder - look through sites such as getjar or mobile9 and you will get something from there. Hope this helps/