This is a very simple design that could use some refinement. The cord lock comes in two parts. You will need to add a spring; I have used a spring out of one of these cheap clicker pins you get for free. You can also buy a strong compression spring at one of the big box stores. It works for now.
The author marked this model as their own original creation.