I have had a similar issue where I thought my computer went to sleep so I start typing my password while the monitor wakes up only to realize that it was only the screen that turned off and the computer was already unlocked so when I hit enter the password was sent into a slack thread or dm instead
Start your password with a forward slash :)
The trick is to use a plausible Slack message as your sudo password :)
“I quit!” Even includes a special character
"I, uhh, need your thoughts." should have fewer consequences AND be more secure.