Send rfxcom lightwaverf commands

I have some lightwaverf sockets and a socket locker remote which has 5 buttons on. ON, OFF, LOCK, ALL LOCK and UNLOCK.
Basically i want to lock/unlock the sockets on a timer trigger but cant figure out how to send lock/unlock command to the sockets only on and off.

I have made a little test to make sure the button_press is working ok, so when i press lock the socket turns on which works fine.

  alias: Lock Sockets
  trigger:
  - platform: event
    event_type: button_pressed
    event_data: {'state': 'lock', 'entity_id': 'switch.socket_locker'}
  action: 
  - service: switch.turn_on
    entity_id: switch.switch1

Any help would be greatly appreciated.