add Lock command extension