Added withLock combinator to lock server example.