Set Actor Movability on Key Press

Is there a way to change a static mesh movability on say a key press to toggle between static and movable?

Why would you want to do that? What are you trying to achieve?