windows 10 – pc automatically turns on when plugged in

Hello everyone I have some questions maybe you can help me with some advise on what I should do,, yesterday I have encountered a problem on my pc, My pc won’t turn on immediately after shutdown so I tried searching for solutions online and what I found is to set the settings in bios which is to power on the computer when ac is connected/detected, in which case my pc will turn on automatically without pressing the power button, the question is,
is that harmful to my computer?