init spin lock