ambiguous import of 'Lock' removed.