Senior year grades?

How much (if at all) do these factor into admissions? I’m thinking of UCs in particular, but also a private school at USC - Let’s say I fell off a little and started getting a few Bs, would it make any difference? I’m taking a harder courseload this year BTW.