void hdy_flap_set_locked ( HdyFlap* self, gboolean locked )
self is locked.
self when the flap is revealed automatically closes it,
and unfolding it when the flap is not revealed opens it. If
HdyFlap:reveal-flap value never changes on its own.