Windows 11 now lets you control the widgets that appear in the Lock Screen, and you can even disable the feature completely.
If Lock Screen timeout is not working in Windows 11/10, this post may help. The lock screen timeout feature enhances security and power management by locking your PC once inactive for a set period.