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

Hi @serdarkavrazli

Can you check your UiPath run as service mode?
We can check it if UiPath.Service.Host.exe is running or not in Task Manager of OS.

Regards
Gokul