I’ve used a similar child lock, which works well.
You might also get some ideas from the following thread (this is a clickable link).