A lot of Windows users moving to macOS leave apps running due to just clicking on the red button to close the window.
Check to make sure you don't have an app running that is keeping the computer active, even in the background.
e.g. some data syncing apps, navigation device connections, wake-on-lan enabled with an active network-reliant app running
Use Activity Monitor in the /applications/utilities folder to explore all the stuff running.