What is the work done on an object that remains at rest when a force is applied on it?
Zero. Work needs a displacement: W = F × S. If the object stays at rest, S = 0, so W = F × 0 = 0. For example, a man pushing hard against a wall does no work on it, however tired he gets.