Distributed lock manager using MongoDB