Chosen Solution

While i am working my pc turn off but when i press power button he starts like he was in sleep mode and this problem happen every time

Sorry if you have already done this but have you gone through the BIOS settings? As in the CEC 2019 setting? This allows the system to adjust power consumption when it is in shutdown, idle, or standby state. It’s kinda like Hibernate but it’s BIOS controlled. It’s to make sure the MB complies with California Energy Commission rules. The default should be Disabled. Also check your keyboard settings are not set to auto sleep or hibernate when you do not press any keys for a certain amount of time. Also are you sure the motherboard is going to standby or sleep & not your monitor? Hope these ideas help :-)