Fastboot's command boot
Fastboot boot command allows a Bootable image to be started on the device without flashing it permanently... It can be a custom boot kernel image, a recovery environment (TWRP, CWM, Philz), or other custom image. Having an unlocked bootloader is a requirement to boot an unsigned (meaning not stock) image like TWRP.