Examlpe, alakazam VS jellicent: alakazam is faster and uses psychic, jellicent doesn't take much damage and uses surf. If alakazam uses encore on the next turn, will jellicent be stuck using surf?
Yes it works, but beware Encore fails if the target has not used a move yet. Source: Experience