Don't have Telegram yet? Try it now!
https://www.ostechnix.com/lock-keyboard-mouse-not-screen-linux/
How To Lock The Keyboard And Mouse, But Not The Screen In Linux