Protect form fields in Word using code

I need to protect form fields in Word using code.

I tried setting Word VBA's ProtectedForForms property to true. That did absolutely nothing. My form fields still weren't protected. When I then tried recording a macro with the "Protect Form" command from Word's Form toolbar, no code got generated. Absolutely beautiful.