Make screensaver aware of randr modifications to effectively lock screen

Hello,
My UM17.10 work box is dual screened.

My second display is VGA only with a rare resolution, 2048x1152. I didn’t found out how to fix the setup on boot, so I activate manually a xrandr script after being logged.

#!/bin/sh
xrandr --newmode  "2048x1152R"  156.75  2048 2096 2128 2208  1152 1155 1160 1185 +hsync -vsync
xrandr --addmode HDMI-1-2 "2048x1152R"

xrandr --output HDMI-1-3 --off --output DisplayPort-0 --off --output DVI-D-0 --primary --mode 2048x1152 --pos 2048x0 --rotate normal --output HDMI-1-2 --mode "2048x1152R" --pos 0x0 --rotate normal --output HDMI-A-0 --off

This work not perfectly, but I can manage minors problem, that are not the question here and now. A better script should fix all the problems at once I assume.

My big problem to resolve, is the following. I use the screensaver to lock my account, but in this configuration, it only activate itself on my main display. It is always possible to see and interact with windows on the second screen.

My lock is a joke. I don’t know how to fix my xrandr to make all application really aware of the status of estate.

Thank you to help me, please.