added Table Lock sample implementation