Add locks and queues examples