enable to switch lock button in view_user_edit