How to fix a vibrating and moving washing machine?
Please follow the step by step guide to check the installation.
The washing machine is installed on an unsuitable surface.
Issues with the washing machine vibrating and moving across the floor can be attributed to the surface on which it is installed. Wooden floors are particularly unsuitable. Ideally install your washing machine in the corner of the room on a hard surface. Get more info how to install your washing machine to stop washing machine from moving and spinning. Please follow the link below.

The washing machine is not level.
A washing machine that is not level will almost certainly have stability issues, especially when it is operating at high spin speeds. Ensure that the appliance is parallel to the ground by using a spirit level. If it is found not to be, adjust the feet accordingly and tighten them in place.
Get more info how to level your washing machine to avoid and reduce vibrations. Please follow the link below.
The transportation bolts have not been removed during installation.
Stability issues can be caused by transportation bolts which have not been removed during installation. You should remove these immediately and replace them with the blanks that came with your washing machine. Ensure that you retain these transportation bolts in case you need to transport your washing machine in the future.
Get more info how to remove transportation bolts to avoid washing machine moves and vibrations. Please follow the link below.
Unbalanced load.
Overloading or underloading your washing machine can contribute to issues with your washing machine vibrating and moving across the floor.