Created locks model