Hi xanteccheng
You can't do this just with ATUM free, but you can with our premium add-on ATUM Multi-Inventory. The main feature of this add-on is to create as many inventories as possible for each product in order to sell it to different regions, but it has other features that will suit you: Batch Tracking and Expirable Inventories.
You need to take into account that even you just sell in one location, you will need to create at least on inventory per product (Main Inventory).
Said that, you can enable Batch Tracking and set one batch number to each inventory. And if you also enable 'Expirable inventories', you will be able to set a date when this inventory will be expired.
I leave you here the documentation where you can find a lot of info about it: https://forum.stockmanagementlabs.com/t/multi-inventory-documentation
And the link to the demo site if you want to try it for free: https://www.stockmanagementlabs.com/addons/atum-multi-inventory/
Hope this helps,
Best Regards,
Andrea.