[InputMethod] Remove lock from InputMethodEditor (#671)