This is why wax motors are used for washing machine door locks.

how does it work for a door lock?it seem it works pretty slowly.

Mayne you know, are the internal components already designed with corrosion in mind?