Your recording settings are overloading your machine.
Rendering lag means you are overloading your GPU.
https://obsproject.com/wiki/GPU-overload-issues
Encoding lag means that the hardware encoder on your Nvidia card is not capable of recording at the settings you've specified.
https://obsproject.com/wiki/General-Performance-And-Encoding-Issues
You may wish to run the auto-configuration wizard to see what settings it suggests, and modify to suit your needs from there.
20:00:38.578: Windows 10 Gaming Features:
20:00:38.578: Game DVR: On
You should probably turn that off, and check that Game Mode is off as well.
20:13:28.204: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 2047 (40.7%)
20:13:28.204: ==== Recording Stop ================================================
20:13:28.204: Video stopped, number of skipped frames due to encoding lag: 3194/4459 (71.6%)
20:17:06.950: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 6108 (47.0%)
20:17:06.951: ==== Recording Stop ================================================
20:17:06.951: Video stopped, number of skipped frames due to encoding lag: 12082/12987 (93.0%)
20:18:32.593: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 8 (2.2%)
20:18:32.594: ==== Recording Stop ================================================
20:18:32.594: Video stopped, number of skipped frames due to encoding lag: 10/360 (2.8%)
20:19:02.130: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 364 (35.4%)
20:19:02.130: ==== Recording Stop ================================================
20:19:02.130: Video stopped, number of skipped frames due to encoding lag: 671/1025 (65.5%)
20:20:17.034: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 342 (37.9%)
20:20:17.034: ==== Recording Stop ================================================
20:20:17.034: Video stopped, number of skipped frames due to encoding lag: 642/900 (71.3%)