code for server end preset lock

load preset lock
apply apply lock