cpp/thread/unique lock/~unique lock

Destroys the lock. If has an associated mutex and has acquired ownership of it, the mutex is unlocked.