is there a way to lock just part of a text box

like let say 3 first letter of the text box