add lock clock to build