define and text lock