Revert "implementation of lock rpc acquire, release"

This reverts commit 254539cfaa8294424b2f215cc1a11d3b50c7cde5.