There is not yet a standardised way to lock orientation. There is a spec that is being worked on, but AFAIK no browsers currently support it, so it's not possible to orientation lock in the browser. However most other export options like CocoonJS, Windows Phone 8, Phonegap etc. provide an orientation lock option at some point in the publishing process.