Forgot unlock-pattern of android device without registered Google account. Will factory reset work?
A factory reset will work for this issue. But you may lost your data.

I repeat you may loss because some cyanogen device didnot delete all data in a factory reset(including my device).

So try it.