How to Fix Ubuntu APT Lock Error by Removing /var/lib/apt/lists/lock - UFW Port Allow Rule Lost After Reboot: Troubleshooting-Troubleshoot PowerShell Execution Policy Not Working

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