First of all, don't make up rules. NFHS rules have nothing remotely resembling your "once A reaches the plane of the defender" business.
Second, in NFHS rules any player may block any other player anywhere on the field, provided that the block is a legal block and doesn't constitute interference or a personal foul (Football Fundamental).
Third, you need to know that the pass interference restrictions on B don't begin until the ball leaves the passer's hand (7-5-8b). So you can't have DPI on a receiver being blocked at the line of scrimmage unless the ball is in the air and in his direction.
The next issue is whether this is holding/illegal use of hands. The relevant rule is 9-2-3d:
A defensive player shall not:
...
d. Contact an eligible receiver who is no longer a potential blocker.
So whether B has committed a foul comes down to whether the A player is still a "potential blocker." This is a judgment call: but it is not merely a question of whether the A player is making an actual attempt to block (as a previous poster claimed).
In general, an A player is a potential blocker until he moves past or away from the B player, or until the play passes him and he does not move to participate further. If the B player is blocking the receiver and keeping the receiver in front of him the whole time, I'd say it's legal; if you judge that B is restricting A's attempt to get past him, you could flag the illegal use of hands here and tell the coach that the A player was no longer a potential blocker since he was moving away.