Q.If I cut dead branches off will the rest survive apricot tree
The tree is about 12 years old and the rest is in full bloom, about 10 percent is dead

It is important to remove dead branches as they are an invitation to pests and diseases. But it is also important to do it at the right time of year and do it properly or you'll injure the tree. If you've never pruned a tree before, think of hiring a professional arborist who has to right tools to do the job correctly. This article discusses apricot pruning: https://www.gardeningknowhow.com/edible/fruits/apricots/pruning-apricot-trees.htm
Identifying the "branch collar" is critical to successful healing of the pruning wound. (Do not paint the wound.) Look at some online videos on tree pruning to learn to identify the branch collar and how to correctly remove limbs.