When I lock my Windows Computer the 3cx Phone app still rings on this Computer. I think it should automatically be set to "Away" so the phone call goes to the next available device.
It's not exactly what you want but just making sure you know that "Account Settings/Advanced Settings\Auto Change Status when idle" whilst it doesn't go to Away when the PC is locked, it might be close enough for you...