File locking?

File locking?

We have multiple workdrive accounts sync to several computers.
When i use a (excel) file and make changes other person can open the same file and make changes.
When the second user saves the file, in workdrive is created a second file without warning.
Example:
Filename is "Payments", only 1 file for all users to use.
When 2 users change the file together in the same time we have 2 files:
"Payments"
"Payments (Admin-Computername-date)

How i can create only 1 person is allowed to change file's at the same time?

When i move the file to our NAS the second user gets alarm, like someone else is using the file. You can just view but make no changes.

Thanks,