Tray template with lid and locking tabs