Error Code E48

My front loading washer will fill and agitate, but not spin. The timer resets to the original wash time and the door lock indicator flashes. Please tell me that E48 means only that I need a new door lock! Thanks