That is not true. The Holy Spirit never takes over our choice to choose and there is no scripture that says so. We maintain our free will no matter what. Look at Judas, He went out with the 12 and then the 70 and cast out demons and healed to sick and infirm even though he would be the one who would betray Christ. Even after spending 3 years hanging out with Christ.
Luk 9:1 Then he called his twelve disciples together, and gave them power and authority over all devils, and to cure diseases.
Luk 9:2 And he sent them to preach the kingdom of God, and to heal the sick.
luk 10:17 And the seventy returned again with joy, saying, Lord, even the devils are subject unto us through thy name.
Luk 10:18 And he said unto them, I beheld Satan as lightning fall from heaven.
Luk 10:19 Behold, I give unto you power to tread on serpents and scorpions, and over all the power of the enemy: and nothing shall by any means hurt you.
Luk 10:20 Notwithstanding in this rejoice not, that the spirits are subject unto you; but rather rejoice, because your names are written in heaven.
According to Luke 10:20 the names of the disciples were already written in heaven and that includes Judas
Mat 10:1 And when he had called unto him his twelve disciples, he gave them power against unclean spirits, to cast them out, and to heal all manner of sickness and all manner of disease.
Mat 10:2 Now the names of the twelve apostles are these; The first, Simon, who is called Peter, and Andrew his brother; James the son of Zebedee, and John his brother;
Mat 10:3 Philip, and Bartholomew; Thomas, and Matthew the publican; James the son of Alphaeus, and Lebbaeus, whose surname was Thaddaeus;
Mat 10:4 Simon the Canaanite, and Judas Iscariot, who also betrayed him.
Judas himself healed to sick and cast out demons by the power of the Holy Spirit that Christ gave them to use to glorify God yet even after being a part of casting out demons and healing the sick by the power of the Holy Spirit, JUDAS STILL CHOSE TO BETRAY CHRIST.
In these last verses 3 verses Christ tell the twelve that their reward can not be lost under the circumstances described by Christ in all of Matthew chapter 10.
Mat 10:40 He that receiveth you receiveth me, and he that receiveth me receiveth him that sent me.
Mat 10:41 He that receiveth a prophet in the name of a prophet shall receive a prophet's reward; and he that receiveth a righteous man in the name of a righteous man shall receive a righteous man's reward.
Mat 10:42 And whosoever shall give to drink unto one of these little ones a cup of cold water only in the name of a disciple, verily I say unto you, he shall in no wise lose his reward.
Judas was among those twelve but Judas choose to betray Christ even after Christ gave him power by the Holy Spirit to cast out demons and heal the sick. So by the standerds set forth by the above scrptures we never loose the gift of free will and we can choose to turn our backs on Christ even after receiving the Holy Spirit. The name of Judas was already written in heaven before he betrayed Christ and we know his name was removed from heaven after he betrayed Christ.