If a apricot bonsai doesn't blossom, this is usually due to 3 reasons:
The bonsai tree is still too young. Prunus mume usually blooms only after 1-2 decades, but frequently only after 30-40 years. Here only waiting or grafting branches of an already flowering apricot helps.
The bonsai has not been well cared for and is too weak. Then it is best to ask an expert to improve the condition until the next flowering.
Too late and heavy pruning of the bonsai removed many or all flower buds. In this case, simply do not cut back too late and too strongly next year.