Cruise over Shabbat

I’ll be going on a cruise in the Mediterranean Sea in the summer that includes a stay over Shabbat.

May I ask ship’s personnel to open my cabin door if the lock involves an electronic key (I guess this would apply to any hotel room as well)?

Thank you

Certainly