Sometimes VPN apps become administrators and result in this I had the same problem. Go to lock screen >OTHER SECURITY SETTINGS > DEVICE ADMINISTRATORS and then disable the VPN app from being the device administrator this will allow you to change the lock screen settings