complete pessimistic lock example + comment