Hello @wesley ligtvoet
All in all, the ideal would be to debug the scripts that are "locking" the screen, but you can avoid the Welcome screen and/or "setting up things" screens with the next registry change:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableFirstLogonAnimation" /t REG_DWORD /d 0 /f
Hope this helps with your query,
----
--If the reply is helpful, please Upvote and Accept as answer--