Usually means there's a hung process of some sort. You can go to task manager and probably find it or reboot. Does rebooting not fix the problem?
If rebooting does not fix the problem, you will need to find the .lock file in .metadata folder in your workspace and delete it. But that's only if you couldn't find a process locking your workspace.
Turned out to be my external drive that got disconnected