Improved p_unlock (it didn't work when the LOCK ended in a package name as in: C:/R/R-3.0.1/library/00LOCK-qdap)