Thank you for getting back to us
For the invisible login window does this not happen every time ?
For the workaround of disabling screen lock when lid closed, is your system now behaving as you expect it to ?
If setting it to 'suspend' when Laptop lid closed stops it locking, what was it set to before ?