add success and lock