Two conditions have to be met: you need to be above a certain age, and you need a membership.
Roblox gates free-form typing behind both because open text chat is harder to moderate safely, which is why younger accounts are limited to the preset phrase lists and menu-based chat instead.
If you qualify and it still isn't available, check that your account's stated age is accurate — an incorrect birth year is the usual reason the option stays locked.