added initial version of lock service