Restored default locking of files at database opening. This avoid big mess when a server is running and a local access is executed