I always chain off a long thread at the end. Then I get a wide eyed needle and thread the end back under the overlocking so that the ends sit inside the stitches of the seam. - Sorry, did not see the post above before I rattled off - the diagram is how I do it.