Dear Serena,
Good day and thanks for posting your issue in the forum.
Per description and screenshot provided by you, you may have the Check-In and Check-Out functionality enabled for some files.
Have you enabled this functionality on your SharePoint site files?
You could also try creating a new document library in the site and see the result.
It can help us to determine whether there is any problem with the current document library or not.
You could check the link below on how the check-in and check-out works.
Check out, check in, or discard changes to files in a SharePoint library - Microsoft Support
Top questions about check out, check in, and versions - Microsoft Support
Moreover, I would like to suggest checking the co-authoring functionality too because you mentioned happen occasionally if someone is co-authoring in the same file at the same time.
Troubleshoot common coauthoring errors - Microsoft Support
Document collaboration and co-authoring - Microsoft Support
Appreciate your understanding and patience.
Sincerely,
AJ RAJ| Microsoft Community Moderator