'Lock autolayout' is very simple extension which selects the first keyboard layout after screen lock.
You have two layouts in the system: EN, RU.
'Lock autolayout' will switch layout to EN after screen lock.
This is prevents you from typing password using incorrect layout (RU in this case).
cd .local/share/gnome-shell/extensions/
git clone https://github.com/atlazar/lockautolayout-azarov.andrey.gmail.com.git
Then restart Gnome and activate 'Lock autolayout' extension in tweaks tool.