To add a constraint to a task, double-click in the Constraints column of the task in the Attribute table view:
the dialog shown below pops up
select the type of the constraint from the upper left hand box.
select the date associated with the constraint from the upper right hand box.
click Save changes .
To remove a constraint, bring up the same dialog, and select No constraint in the upper left hand box. Click on Save changes.