Confirm the target input source first
Open System Settings → Keyboard → Text Input → Edit and confirm the source is in the enabled list. Select it once from the macOS input menu and type in a normal text field. If it cannot type before locking, fix the input method installation first.
Enable input source locking
- Open Input Method Manager.
- Select the enabled source you want to keep.
- Turn on “Lock current input source.”
- Leave the app running and switch to another app.

What the lock does and does not do
While the app runs, it watches the active macOS input source and restores the selected one when needed. Enabling the lock stops automatic per-app switching so the two modes do not compete. Quitting the app stops this automation.
If only a Chinese/English mode changed inside Squirrel or another input method, review that input method’s own key bindings. The lock manages macOS input sources.
Verify before relying on the rule
- Switch between two apps three times.
- Manually choose another input source and confirm the selected source returns.
- Quit Input Method Manager and confirm automatic restoration stops; reopen it to resume.
If the lock cannot restore the source, check that it remains enabled in macOS and that Input Method Manager has the permissions shown in its authorization card.