A few different methods you can try
How to Fix Steam Content File Lock Error | Updated 2024
Steam is arguably the best platform for PC gaming, period. Its compatibility and massive library of games make it easy to keep all of your content in one place, coordinate times with friends, and even join groups of like-minded gamers.
It’s not all sunshine and roses, though. Some users are reporting a “content file locked” error when trying to update their games. While Steam updates are usually a simple matter of right-clicking and running the update, errors do occur. Here’s how to fix these errors.
Most reports of this error come from updating various games. In other words, Steam can’t access the files it needs to update. This usually happens due to a permissions issue.