Hello Misty, welcome to the Microsoft community, I'll be happy to help you today;
I understand that you want to program the PC to shut down at a certain time;
You can use Task Scheduler for this;
See how to configure the task scheduler in the link below:
https://www.wintips.org/how-to-auto-shutdown-wi...
Disclaimer: There are links to non-Microsoft websites. The pages appear to provide accurate and secure information. Watch out for ads on websites that may advertise products that are often classified as PUPs (Potentially Unwanted Products). Thoroughly research any product advertised on websites before deciding to download and install it.
Hope this helps, see you soon!