Duration = Work ÷ Resource Units
Set the task to Fixed Work when you want the amount of work to remain constant, regardless of any change in duration or resource units.
Remember, in Project, work is measured in time units, such as hours, and it is the amount of effort that a resource needs to complete a task. The total work for a task is the sum of all those time units, no matter how many resources are assigned to the task.