DefaultItemResource.getLock(Type type,
Scope scope)JCR properties are locked if their
parent node is locked; thus this method will always return the
lock object from the collection this resource is
internal member of.