In principle, yes, but: this only works if the hard disk encryption with FileVault is switched off. With a MacBook that you are travelling with, there is nothing wrong with activating FileVault in principle.
If FileVault is active, the Bluetooth connection does not work until you are logged on to the MacBook.
This is also described by Logitech:
https://www.logitech.com/de-ch... (just search for FileVault on this page).