Question: could not open scratch file because the file is locked?
Answer: "Could not open a scratch file because the file is locked or you do not have the necessary access privileges. use the 'Properties' command in the Windows Explorer to unlock the file." The user preferences file within photoshop is corrupted or attempting to save into a restricted location.