Make drawer on a specific side unaccessible for the app and the user, hiding it if necessary.

app.LockDrawer( side )

You can only unlock it using the UnlockDrawer method.

See Also: AddDrawer

Example - Basic click to expand contents 

Example - Open and Close Drawer via Button click to expand contents