Vendor in NIOs lock (#1681)
Motivation:
For v2 we need a lock, and since we want to avoid taking on a NIO
dependency in the core library we can vendor in NIOs lock type instead.
Motivation:
- Vendor in NIOs lock type and locked value box, make them internal
- Update NOTICES.txt
Result:
We have a lock type.