Okay, so you're not too far off the mark in some cases, which is great! You have less to worry about than if you were aiming for AAAA.
If you intend to continue with three subjects to A2 (so Law, Chemistry and Spanish), your school will probably not let you retake an entire AS level as well, but like you said you should check with your school to find out their policy on this is. However, if you were aiming for BBCC grades, you're probably looking at a mid-range university who won't be looking too closely at your fourth AS grade, so I wouldn't worry about it
too much.
So, ignoring Biology for the moment, you wanted BBC and got BCD. How high was your D? Could it be averaged to a C with hard work next year, or with a remark? Could you retake one of your Spanish exams or pieces of coursework (I'm not sure on coursework rules, I don't take a language). The same can be said for Chemistry, although naturally a remark would be unlikely to change much.
I assume you're aiming for BBC at A-level? That's 280 UCAS points, enough for
Anglia Ruskin's Law course (typical offer being between CCC and BBC), or
Bangor, or
University of East London (typical offer starting at CCC). And that's just me searching for five minutes on UCAS.
Remember: Not all is lost. Do a little searching on potential universities, look closely at your marks vs grade boundaries, consider retakes, and speak to your school. Good luck!