If your smart lock is enabeled and if you are in a trusted place or you are close to a trusted device (for my problem it was my fitbit charge HR) your phone security turns directly to "swipe to unlock". Disabling smart lock or deleting devices from trusted device solved my problem. Hope it will...