For most people, disabling the animation effects does the job:
-
Disable
Settings > Accessibility > Visual effects > Animation effects
-
Another report said to select from
Settings > Ease of access > Contrast themes (link),
but this wasn't required for the poster.
Other solutions for solving the animation lag come from the post
Slow virtual desktop switching on windows 11,
where some workarounds were suggested and where
several users have attested to their effectiveness.
The first setting seemed to have been enough to solve the
slow switching problem between desktops for the poster (at least for now).
Some users in the post have also said that the second setting
helped with the problem.