added locking
add locked rows