protect via setlock