In most cases, when getting this error, it will automatically go away. If it doesn’t go away, we can easily fix it manually.
This error happens when we try to update our WordPress installation while having another update that still wasn’t completed.
When a WordPress update starts, a new row is added to the ‘wp_options’ table in order to indicate about the update that has just started. The new row has the ‘core_updated.lock’ value in the option_name column. Deleting this row will fix the error.
The photo in this post was created by Negative Space, and was downloaded from pexels.com: https://www.pexels.com/photo/coffee-writing-computer-blogging-34600/