Determine based on a list of children under a ZNode, whether or not a
process which created a specified ZNode has obtained a lock. If a lock is
not obtained, return the path that we should watch awaiting its deletion.
Otherwise, return null.
This method is abstract as the logic for determining whether or not a
lock is obtained depends on the type of lock being implemented.