Consider a particle raised to height $h$ by applying a constant force of $F$ vertically opposite to the direction of force of gravity on it. The potential energy of the particle is
$$W = mgh$$
But, according to the definition of work, the work done on the particle is
$$W' = Fh$$
According to conservation of energy, $W = W'$. But what if $F>mg$?