Try to aquire a machine-wide lock named 'name'. Returns null in case of failure (it doesn't wait at all).