To boot into Safe Mode, go to Settings > System > Recovery, and click "Restart Now" under Advanced Startup. After your system restarts, navigate to Troubleshoot > Advanced Options > Startup Settings > ...
This will stop Windows Defender from blocking the camera. The guidelines above should help you add exclusions for the webcam or camera app. Of course, similar steps can be applied to other antivirus ...