MongoDB has no optimistic concurrency handling out of the box.
Now, Jimmy Bogard has a blog post how it could be implemented.
https://jimmybogard.com/document-level-optimistic-concurrency-in-mongodb/
This would be a very nice enhancement for the MongoDB extensions.