Design of a Cover Locking Mechanism with a Miniature Solenoid