Cannot bring the target application in foreground because the Windows session is locked

Hello @serdarkavrazli
Kindly refer this, you may got some idea