same thing happening. usually after connecting an external screen on hdmi, i get notifications that the ‘mate-menu’ crashed and then it stops going to sleep, and if it does go to sleep, then there is no password required for resume. I’ve been upgrading since 16.04 lts. Seems related to this post: Lockscreen bypassed by connecting external monitor on HDMI