Add an entry for "lock" to the glossary.

I'm going to link to this entry from the MMS docs.