AITA for changing the door code after my mother-in-law used it at 6am?

our daughter is 7 weeks. my wife is recovering from a c-section that did not go smoothly. her mom has the code because she watched our dog while we were at the hospital. she has now used it four times without asking. the last time my wife was asleep on the couch with her shirt open feeding. i changed the code and texted her. that conversation is below. wife is somewhere between agreeing with me and not speaking to me.
This Case Is Closed
Sign In To See The VerdictWife says I overtip, I say a good tip keeps the waitress honest. Who's right?
AITA for outing my husband's brother's money lie at Thanksgiving instead of privately
Call or text my grandson, which actually gets a reply from a teenager these days?
y'all is it wrong to have a favorite kid's plate at the table and nobody else can sit there??