The mouse/keyboard is free after turn off monitor, Any help?

Good day, I have an 8 Gb raspberry Pi 4 B, when I turn off the monitor (it is a television connected to the HDMI port) and turn it on again, the image freezes, I cannot move the mouse, the keyboard does not respond, the only option I have is to restart the system, turning it off and on from the power source.
What options can I take to avoid this problem, since I cannot have the screen on all the time?

This is the neofetch and uname result of my system:

edgar@

OS: Manjaro ARM Linux aarch64
Host: Raspberry Pi 4 Model B Rev 1.4
Kernel: 6.1.69-1-MANJARO-RPI4
Packages: 1128 (pacman)
Shell: bash 5.2.21
Resolution: 1920x1080
DE: Plasma 5.27.10
WM: kwin
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: konsole
CPU: (4) @ 2.2GHz
Memory: 2214MiB / 7789MiB (28%)
uname -a
Linux edgar-pi 6.1.69-1-MANJARO-RPI4 #1 SMP PREEMPT Thu Dec 21 16:01:20 UTC 2023 aarch64 GNU/Linux

Thanking you for your kind participation and comments, I will provide any other information that is required.

Hi @Kerverosmx, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Please also note and heed: Forum Rules - Manjaro

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

I would suggest the same I suggested here: