lockpattern demo