iTunes launch that reads like this, "The iTunes Library file is locked, on a locked disk, otherwise you would not have write permission for this file".
There are several possible fixes for this error. Below we outline the simplest solution which works in most cases.
Finder by clicking its icon in the dock.
Select Music from the list of PLACES on the left side of the Finder window then double click the iTunes folder.
Locate the iTunes Library file and drag it to your desktop.
Launch the iTunes application by clicking its icon in the dock.
Notice that your iTunes Library will be empty. Next, quit the application by pressing the Command+q&#
Drag the iTunes Library file from the Desktop back to the iTunes folder you original took it from.
You will be informed that an item already exists in this location. Click the Replace button to continue.
You can now launch iTunes as normal without receiving a locked library message.
if you like this article, you may want
to subscribe and follow me on Twitter