Well you could try deleting your cache, but thinking because it says “could not lock file” it might be a permission issue… where is your fivem installed?
Also you might want to fill out the Technical Support template so we have some more info to help you.