From an earlier lockicht, from Middle High German lockeht, analyzable as Locke (“curl”) + -ig.
Practice speaking and memorizing "lockig" and many other words and sentences in German.