The way I "lock" the decorative stitches on my machine is to leave a thread tail of the top thread and the bobbin at the beginning and end. Then I pull the top threads through to the back, and with the bobbin threads I "bury" them as if I were hand quilting. My machine doesn't have a locking stitch and a zero stitch length on the decorative stitches wouldn't look good.