States are increasingly applying measures to prevent access to justice for protesters amid tightening of restrictions on civil society, expert says.