Yes, you can factory reset a locked Apple Watch. To do so, you must manually start the factory reset process. Long press the power button to start doing so.