No. Baptism is a symbolic act. A person is baptized after he has committed his life to God. If a person, from his heart, has not accepted Jesus and has not consecrated his life to obey God's will, then baptism is simply a bath.
In order to become a Christian, a person must recognize his sinful state, long for and accept the forgiveness offered by Jesus, and forsake everything to follow Jesus. Baptism follows this commitment.
Listen to what Jesus said to the crowd following him:
Luke 14:26-33, “If you want to be my disciple, you must hate (or love less) everyone else by comparison–your father and mother, wife and children, brothers and sisters–yes, even your own life. Otherwise, you cannot be my disciple. 27 And if you do not carry your own cross and follow me, you cannot be my disciple.
“28 But don't begin until you count the cost. For who would begin construction of a building without first calculating the cost to see if there is enough money to finish it? 29 Otherwise, you might complete only the foundation before running out of money, and then everyone would laugh at you. 30 They would say, ‘There's the person who started that building and couldn't afford to finish it!’ 31 Or what king would go to war against another king without first sitting down with his counselors to discuss whether his army of 10,000 could defeat the 20,000 soldiers marching against him? 32 And if he can’t, he will send a delegation to discuss terms of peace while the enemy is still far away. 33 So you cannot become my disciple without giving up everything you own.”
Jesus is teaching that in order to be His follower, a person should first consider the cost of consecration. We must be willing to give up all to follow Him. Salvation is “the answer of a good conscience toward God,” 1 Peter 3:21. The act of baptism, itself, does not give salvation.