The self-locking function is realized through the cooperation of mechanical and electronic systems. When the pump is working, the electronic system will monitor the mechanical parts. If an external force touches the pump body, the electronic system will automatically stop the pump and give an alarm until the medical staff releases the self-locking state.