How do I close a task associated with a lost potential?

How do I close a task associated with a lost potential?

I am trying to create a workflow rule where all the active task against the lost potential will automatically get closed, is there a way this can be done?