Sorry if this misunderstands the problem, but on searching it looks like the settings have moved to System settings > lock screen (previously found in energy saver or battery).
this post was submitted on 17 Oct 2024
4 points (83.3% liked)
All things mac and macOS
618 readers
3 users here now
founded 4 years ago
MODERATORS
There is a program called amphetamine that does exactly this.