Lock constructor Null safety

Lock()