hdmi output doesnt work in ubuntu 18.04

Hi !
I’m here again.
Both monitors (external and laptop) works … but LOGIN screen when I lock or when I restart if I havent unplugged external monitor it doesnt show on laptop.
It happened on linux mint (20) , and in ubuntu with KDE PLASMA (ubuntu 20.04)

any advice ? @generix

best regards !