Locking local computer during session exhibits odd behaviour

Hello,

I've been noticing a bit of an odd issue. If I lock my computer during a TV session with a client computer - occasionally when I unlock my computer it acts like either the CTRL or ALT key is pushed down. The only way to restore things back to normal is a full restart of my computer.

I lock my screen when I leave the room as my computer is kept in a fairly open/public space, and it's just a habit I've gotten into. That said, I've noticed this issue at previous jobs and using previous iterations of TeamViewer. I'm just curious if others have noted this odd behaviour at all, and if there is any sort of fix for it (aside from ending/restarting a session every time I leave the room).

Current system is a Lenovo laptop, running Windows 8.1, with 4GB RAM (though I've experienced this on anything from Win7-Win10, and from about Teamviewer 10 - current.)

Thanks,

Matt