The mirror lock up is designed to give the user access to the front of the imaging sensor to clean, use a dry clean air source to blow air on the front of the filter.
Most cameras have in-built safety features; one such feature is the prevention of using the mirror lock up function if the battery is low.
You must have a fully charged battery to prevent accidental closure.