Gepard locking on friendly planes

I play the Gepard quite often. Just had it locking a friendly plane. This never happened before. Is this a bug, or normal?

It can happen not a bug