distributed lock service example - Search