add lockserver.py and update