Improved lock HTML rendering; added lock link to locked nodes' RDF.