Add lock service framework