Can anyone use your private key if its encrypted on bitcoin core?
If you trust someone else to provide a private key for you, it doesn't matter if you encrypt your wallet. They will forever be able to control and spend your money at their leisure with no regard to any password you add.