Animation lock bone rotation Y axis

Hello. I have a rigged car with root and 4 bones. I am using wheelhandler to animate wheels. I would like lock every bone rotation in Y axis, but I don’t know how. I attached 2 screenshots Could You help me? Please :smiley:

have you found solution?