Well, for me, to improve my knowledge, I would definitely prefer to switch to Linux instead of Windows 10. Mainly because I totally refuse to support Microsoft's policy.
To solve your problem. First, try the behavior of the latest version of QB64. Do you have a program on your system, such as an antivirus, or a real-time data compression program that could cause this behavior? What about other apps? Do they behave the same or do they close now? Do you have QB64 installed on the system disk or another disk? I have QB64 on a disk with no operating system. If nothing helps, can you try a system restore point on an earlier date?
Maybe .... what to try to uninstall the latest updates?