If you look at the folder that contains the catalog, you will find a file named "catalog name".lrcat. That is your catalog file. You will also find a file named "catalog name".lrcat.lock. This second file stops LR from opening the catalog.
Just delete or rename the .lock file and you should be able to open your catalog.
Alan