That happened on my car right before my battery died on me. When it happened, I had to just lock the doors with the key, so everything was locked, but the alarm was off. After that happened, a few days later my car wouldn't start and it was a dead battery.
I'd look into that. Autozone will test it for free for you.
And welcome to UB.
Stick around after you get this solved.