your link doesn't work.
So do the motors lock when power is turned on? I'd double check your step and direction pin settings in mach3. I'm not familiar with the sherline controller but it may need an enable signal from the PC before movement will happen.