When trying to share screen with a second display attached via HDMI in my laptop the main (laptop) screen blinks.

All happens with Windows 10 versions and tried in different laptops:

Xiaomi Mi Air

ThinkPad T480