Create an input textfield and in the Properties panel where the option is to select Single Line or Multiple Line, there is also an option to select Password.
An alternative is to use Actionscript. Create the input textfield and assign it an instance name. Then use that name to target it and assign its password property to true...
tFieldName.password = true;