a protection device is disposed between the socket entrance of the expansion socket of the expansion device and the casing of a portable computer . the casing is formed with a window corresponding to the socket entrance . in an unprotected state , the expansion device functions in a normal manner . however , in a protected state , the protection device shields the socket entrance of the expansion socket and prevents an external article from being inserted into or withdrawn from the expansion socket .