Check Which Process Locked a File Using PowerShell - Microsoft Store App Restore Checklist-Fix Outlook Access Denied in Shared Mailbox

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