事务锁例

transaction locking example