Mercedes 350 sl battery dead which is in boot - lock jammed -

Could you help me please unlock the boot to get the battery out so I can replace it - all systems seem to be shutting down the key has started jamming in lock roof won't come down - it starts but won't come out of park. Any advice would help Tia.