You need to escape the party by using your mouse to control the key and unlock the door. BUT BEWARE, as if you pop a balloon, then you will lose 5 score.
thank you to @Yussuf_E for the better movement made for the August 2024 scratch design studio (locks and keys)