add option to make write lock requests interrupt other operations

#1132