How to Fix Microsoft Teams Camera Not Working on Windows 10 - Resolve 'Cannot Access File Because It Is Locked' in Terminal-Windows Defender 0x80070422: Causes and Fixes

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.