Added child lock, with added preferences option