[#331] extracted lock screen controller from main window