At present, Beijing's policy is to recognize housing and loan records, but there are no restrictions on loan records, so according to your current situation, you can buy a house in Beijing according to the second set of loans. The second set of ordinary housing loans can be 40%, while the non-ordinary housing loans can be 20%.
If you want to buy in the name of your child, you can also repay the loan in your name.