When someone stands against a locker and is does not moving at all, then there will be no displacement and since displacement = 0
Work done also becomes equal to zero.
Work done is usually defined as change in energy. Since the work done is zero there has been no energy used.