added equals to lockaction