Set readonly to the user_lock; Added error window call
Merge https://github.com/Summer-practice/Git-Client