MacBook Pro Didn't Go to Sleep and did not ask for password

Solution 1:

Launch Activity Monitor from Applications/Utilities

From the View menu select All Processes then in the main window click the CPU tab.
Right click anywhere in the header & add the last item in the list - Preventing Sleep [you may need to enlarge the window to see it.]

Click the Preventing Sleep header once to sort 'yes' to the top.
Some of the processes there will automatically stop preventing sleep when they need to [which makes it a bit tougher to judge] but you might find an obvious one, maybe a browser tab playing a radio station or similar.

In this screenshot, the web page would be prime suspect [time machine is currently running to schedule, & screensharing is because I'm remoted into that computer]

enter image description here