initing lock