Electronic parking brake issue

I am having a similar issue and no one knows what to do. So frustrating. I haven’t had it for an entire year yet, and I can hardly drive it SAFELY. My electronic parking brake engages automatically, but not usually before my car starts locking up and dragging. If I hit the brakes too hard, say when someone cuts in front of me, my car locks up. Now it seems like I need my rear brakes replaced, but if I turn on the air conditioner it stops. I cannot make this shit up. If ANYONE has insight please do share.