Add/lock example