Dear Student ,
If the applied force and displacement due to the force is perpendicular to each other then the work done is said to be zero .
Again when after applying force total displacement due to the force is zero then the work done is also zero .
Regards