* Add locking feature.