hi everybody,
seems not only me having this problem n honestly its really annoying time when i need to make my cockatoo back to cage.she is the sweetest baby ever,but suddenly turn to devil when is her bed time

please help me to solve this.
-she hate bed time,keep giving me beg dancing at 10 pm,which she knows that is the time to go to bed.(she can dance more than 20 min)
-i put a lot of toys,big swing,tasty food,good perch with different level but still-she hates to be in cage.
-she always out from 9 am-10 pm but its not enough for her,she still refuse to come back.
-target training,not interest no matter how hungry she is.
-food management,it dsnt work for her.she prefer to not eat n today i catch her secretly take the food from outside the cage wire so she dsnt need to go back to cage.what a smart cockatoo
-it takes me 30-45 min to make her back,n its really difficult,finally she give up n come back-with a grumpy body language.
-belive it or not,she can open the lock.she hold the lock stick with her beak n pull it with her leg.now i put 4 locks for her cage n 2 big rope to tide it to make sure she cant escape in the middle of night.
-after finally she give up to back in cage,i lock the door n fastly she jump in front of the door,hanging like a teddy bear n dancing again beg me to open it.i switch off the light n she still keep dancing n make awful noise.n add 30 min again,she fall asleep.
-the most difficult one,when i make her sleep i must to sleep too.if she find out i still playing games or make noise she will start to scream like''hellooo why u put me to bed n yourself still awake??'' now me n my husband always sneak out n talk very slow if she must to sleep n we still awake.n its very difficult.
it seems cute n funny at beginning but now its really annoying.she knows i wont open the door but she keep trying to be as cute as possible to make me get pity on her n open it.i cant locked her inside the cage because she plucked her feather n i dont want to make a risk-maybe she get more stress n start mutilating her self(the vet told me she must to be in cage only bed time,so she always free full day).what i have to do??
is this coming back to cage program can harm my relationship with her?
thanks for the advise.