There is not any locking by default. I don't think files could ever be used in a production environment without locking becoming an issue.