It's a little weird, but in the Properties of the Textbox, you'll see a Locked property. However in .NET code Locked is changed to ReadOnly.

Therefor you would use:

TextBox1.ReadOnly = False