Never thought I'd be discussing washing machines on MT LOL.Anyway, I've had cause to look into this in recent months. These are my suggestions:
1. After every wash wipe any water off the rubber door seal and leave the door open for at least 2 hours (overnight is even better) so it dries thoroughly.
2. Ditch the fabric conditioner. It might smell nice and items may feel softer but that's because it breaks down and damages fibres. Conditioner can also cause 'gunk' to build up in the machine.
3. Use a tablespoon of soda crystals with each wash in addition to your detergent. It will aid washing, especially in hard water areas, and will help keep your machine clean and healthy.
4. Ditch the fast spin. For example, the difference in water retention of an 8kg load between 800rpm and 1400rpm is just 3 tablespoons of water. 800rpm will put less strain on the machine and also save energy.
5. Unless laundry is very soiled, 30c is probably warm enough for most washes, and will save energy.
One thing I've used for some years & Samsung deploy as a function is every few months run the washer on empty on max temperature 90 C this rids the machine of gunk caused by many low temperature washes - The difference of residual water on 800 speed spin & say 1300 spin is quite large & the water has to be removed afterward - OK if you dry outside in warm climes but not so for example in the UK, I spin at high speed & the washer too, but can crease clothes
I used to clean it with a bottle of vinegar once per month, it kills bacteria and odors, but I do not need to anymore, since I use only vinegar as a detergent due to sensitive skin.
I use an essential oil (~6 drops) as a fabric conditioner. My last washing machine (Whirlpool top load) lasted 10 years and I only replaced it, because it started to act a bit cranky.