Several Windows users have reported being unable to run the Program Compatibility Troubleshooter on their PC. You can run the compatibility troubleshooter by going to Settings > Troubleshoot > Other ...
If Teams crashes or freezes when turning on camera, check if the Teams app is corrupted, and follow the solutions mentioned ...