Fixed lock bug. Now this will works.