Most of the check-in is done by apps or software, even automated these days. This way, checked bags might just need to be "dropped". The legally relevant moment is when you pass the gate checkpoint, presenting your boarding pass. This is the moment your "flight" officially begins and when your ticket is considered to be used.