Add locking section.