Question: xfce do not lock screen?
Answer: Applications -> System Tools -> Settings -> Privacy -> Screen Lock -> Disable it. If you don't find Privacy search for lock and you will find the related search check which option says automatic screen lock.