- Improve error message handling for locked packages