Create locks