lib/mutex.go: use TryLock once Go 1.20 is out and we can drop support for Go 1.17
Related:
#121 (closed)
.