VS code update from bash to zsh frozen terminal

I have just installed VS code. I am trying to update from bash to zsh. The following message appears:

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.

I run this command, and then the terminal prompts me to enter the password for the computer. But at this point, the cursor freezes–I can not type anything, so I can not enter any password. Why is this happening? I am on a Macbook.

Hi ,

Try to configure the ZSH in VS Code using the settings mentioned in the link below:
Click Here

try entering your password in and hitting enter. The password will not be shown in the terminal as you enter it.