If the LatticeECP3 Delay-locked loop (DLL) is not locked with the DLL's LOCK signal de-asserted, it means that the DLL's CLKI and CLKFB are not in phase.
For example, the DLL input clock may not be stable at that time. It is recommended that the DLL is reset during its unlocking state in order to start the re-lock process properly.
If the DLL is not reset when its LOCK signal is de-asserted, its output signals will not work as expected even if the DLL input clock gets back to be normal.
When the DLL input is stable during the re-lock process, the DLL will enter the lock state after the DLL lock time (tLOCK). Otherwise, the DLL should be reset again after the maximum tLOCK and re-start the re-lock process.