Let us define a conservative force as being a force whose work is path independent. Then, in particular, a vanishing force is conservative.
If a force acting on a particle can be written from a scalar function, $\vec F=-\vec\nabla U(\vec r,t)$, then the change in mechanical energy is $$\frac{dE}{dt}=\frac{\partial U}{\partial t}.$$ If $U$ depends explicitly on time, then mechanical energy is not conserved.
Now consider a case where the potential energy depends only on time $U=U(t)$. For example, a charged particle inside a charged conducting sphere whose charge changes with time. The force on the particle is zero, therefore it is conservative. On the other hand, the potential change uniformly with time and $$\frac{dE}{dt}=\frac{\partial U}{\partial t}\neq 0.$$
Is it true that a conservative force does not imply energy conservation as this example suggests?