Can I use a inputed data as lookup criteria?

Can I use a inputed data as lookup criteria?

I want to reduce the number of options from a lookup field A, when the user select on option from a lookup field B.
Is this possible?