locking and editing multiple values at once