If you haven't already.
In Windows 10, right click the start button, a list should appear and click on Event Viewer.
From there go to Windows Logs -> Application. On the right click filter current log. Usually, Critical and Error are what you are looking for.
Check if you have anything L4D2.exe (whatever the app is) crashing or causing problems.