Corrected type in lock descriptions

There was a small type ("eference" vs "reference") in the description of the "(r)" comment.