added new example for lock service