Fallback implementation for Lockfile on Windows platform