You forgot the "compile" scenario.
If somebody is compiling the package and for some reason it hangs or keeps waiting because somebody is using it a new attempt to use the package would find it locked.
Not saying that's what happened, troubleshoot -perhaps using my script?- is needed for a fair determination of the root cause of the issue.