Should be simple - but I don't know what to look for

I want to have a door, and when I put the mouse over it I want it to unlatch a lock, and then when clicked I want it to open the door, I’m thinking scenes and action script but not quiet sure how to go about it. I didn’t know what to look up for what I wanted, and haven’t had any luck. Thanks for any help