Lock on statements to prevent multiple overlapping