File locking and share modes The Common File System provides common protocols for file locking and share modes. However, file locking and share modes are not uniformly supported by all platform file systems.