auto lock added