I know it is not recommend to use Sqlite over a network drive, for two reasons: performance, and data corruption due to bad implementation of network file systems.
Still
Another suggestion would be to write an API that sits over the SQLite file and does the locking for you.